org.exolab.castor.xml

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: 1.1.1.1 $ $Date: 2003/03/03 07:09:09 $
Author:
Keith Visco

Field Summary

static short
ATTRIBUTE
Represents the descriptor type for Attributes
static short
ELEMENT
Represents the descriptor type for Elements
static DescriptorType
attribute
The Attribute DescriptorType
static DescriptorType
element
The Element DescriptorType

Method Summary

short
getType()
Returns the type of this DescriptorType

Field Details

ATTRIBUTE

public static final short ATTRIBUTE
Represents the descriptor type for Attributes
Field Value:
0

ELEMENT

public static final short ELEMENT
Represents the descriptor type for Elements
Field Value:
1

attribute

public static final DescriptorType attribute
The Attribute DescriptorType

element

public static final DescriptorType element
The Element DescriptorType

Method Details

getType

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

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