Class DescriptorType


  • public final class DescriptorType
    extends java.lang.Object
    This class represents the Possible Descriptor types used by the marshalling Framework. Currently only Attribute and Element descriptors are used.
    Version:
    $Revision: 8145 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
    Author:
    Keith Visco
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static DescriptorType attribute
      The Attribute DescriptorType.
      static short ATTRIBUTE
      Represents the descriptor type for Attributes.
      static DescriptorType element
      The Element DescriptorType.
      static short ELEMENT
      Represents the descriptor type for Elements.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      short getType()
      Returns the type of this DescriptorType.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ATTRIBUTE

        public static final short ATTRIBUTE
        Represents the descriptor type for Attributes.
        See Also:
        Constant Field Values
      • ELEMENT

        public static final short ELEMENT
        Represents the descriptor type for Elements.
        See Also:
        Constant Field Values
      • attribute

        public static final DescriptorType attribute
        The Attribute DescriptorType.
      • element

        public static final DescriptorType element
        The Element DescriptorType.
    • Method Detail

      • getType

        public short getType()
        Returns the type of this DescriptorType.
        Returns:
        the type of this DescriptorType.