Package org.exolab.castor.xml
Class DescriptorType
java.lang.Object
org.exolab.castor.xml.DescriptorType
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
FieldsModifier and TypeFieldDescriptionstatic final DescriptorType
The Attribute DescriptorType.static final short
Represents the descriptor type for Attributes.static final DescriptorType
The Element DescriptorType.static final short
Represents the descriptor type for Elements. -
Method Summary
-
Field Details
-
ATTRIBUTE
public static final short ATTRIBUTERepresents the descriptor type for Attributes.- See Also:
-
ELEMENT
public static final short ELEMENTRepresents the descriptor type for Elements.- See Also:
-
attribute
The Attribute DescriptorType. -
element
The Element DescriptorType.
-
-
Method Details
-
getType
public short getType()Returns the type of this DescriptorType.- Returns:
- the type of this DescriptorType.
-