org.exolab.castor.xml

Class DescriptorType

public final class DescriptorType extends Object

This class represents the Possible Descriptor types used by the marshalling Framework. Currently only Attribute and Element descriptors are used.

Version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $

Author: Keith Visco

Field Summary
static shortATTRIBUTE
Represents the descriptor type for Attributes
static DescriptorTypeattribute
The Attribute DescriptorType
static DescriptorTypeelement
The Element DescriptorType
static shortELEMENT
Represents the descriptor type for Elements
Method Summary
shortgetType()
Returns the type of this DescriptorType

Field Detail

ATTRIBUTE

public static final short ATTRIBUTE
Represents the descriptor type for Attributes

attribute

public static final DescriptorType attribute
The Attribute DescriptorType

element

public static final DescriptorType element
The Element DescriptorType

ELEMENT

public static final short ELEMENT
Represents the descriptor type for Elements

Method Detail

getType

public short getType()
Returns the type of this DescriptorType

Returns: the type of this DescriptorType

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com