org.exolab.castor.mapping.xml.types
Class NodeType

java.lang.Object
  extended byorg.exolab.castor.mapping.xml.types.NodeType
All Implemented Interfaces:
java.io.Serializable

public class NodeType
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.4 $ $Date: 2002/01/18 22:58:34 $
See Also:
Serialized Form

Field Summary
static NodeType ATTRIBUTE
          The instance of the attribute type
static int ATTRIBUTE_TYPE
          The attribute type
static NodeType ELEMENT
          The instance of the element type
static int ELEMENT_TYPE
          The element type
static NodeType TEXT
          The instance of the text type
static int TEXT_TYPE
          The text type
 
Method Summary
static java.util.Enumeration enumerate()
          Returns an enumeration of all possible instances of NodeType
 int getType()
          Returns the type of this NodeType
 java.lang.String toString()
          Returns the String representation of this NodeType
static NodeType valueOf(java.lang.String string)
          Returns a new NodeType based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE_TYPE

public static final int ATTRIBUTE_TYPE
The attribute type

See Also:
Constant Field Values

ATTRIBUTE

public static final NodeType ATTRIBUTE
The instance of the attribute type


ELEMENT_TYPE

public static final int ELEMENT_TYPE
The element type

See Also:
Constant Field Values

ELEMENT

public static final NodeType ELEMENT
The instance of the element type


TEXT_TYPE

public static final int TEXT_TYPE
The text type

See Also:
Constant Field Values

TEXT

public static final NodeType TEXT
The instance of the text type

Method Detail

enumerate

public static java.util.Enumeration enumerate()
Returns an enumeration of all possible instances of NodeType


getType

public int getType()
Returns the type of this NodeType


toString

public java.lang.String toString()
Returns the String representation of this NodeType


valueOf

public static NodeType valueOf(java.lang.String string)
Returns a new NodeType based on the given String value.

Parameters:
string -


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