org.apache.wsif.schema
Class SchemaType

java.lang.Object
  extended byorg.apache.wsif.schema.SchemaType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ComplexType, ElementType, SimpleType

public abstract class SchemaType
extends java.lang.Object
implements java.io.Serializable

Super class of both ComplexType and SimpleType

Author:
Owen Burroughs
See Also:
Serialized Form

Constructor Summary
SchemaType()
           
 
Method Summary
 int getArrayDimension()
          Get the dimension of the array represented by this type (if applicable)
 javax.xml.namespace.QName getArrayType()
          Get the type of the elements in the array represented by this type (if applicable)
 java.util.List getChildren()
          Get a the direct children (SimpleType or ComplexType only) for this element
 javax.xml.namespace.QName getTypeName()
          Get the "name" attribute of this type
 boolean isArray()
          Get a flag to indicate if this type represents an array
 boolean isComplex()
          Get a flag to indicate if this type is a complexType
 boolean isElement()
          Get a flag to indicate if this type is an element type
 boolean isSimple()
          Get a flag to indicate if this type is a simpleType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaType

public SchemaType()
Method Detail

isComplex

public boolean isComplex()
Get a flag to indicate if this type is a complexType

Returns:
The boolean flag

isSimple

public boolean isSimple()
Get a flag to indicate if this type is a simpleType

Returns:
The boolean flag

isElement

public boolean isElement()
Get a flag to indicate if this type is an element type

Returns:
The boolean flag

isArray

public boolean isArray()
Get a flag to indicate if this type represents an array

Returns:
The boolean flag

getArrayType

public javax.xml.namespace.QName getArrayType()
Get the type of the elements in the array represented by this type (if applicable)

Returns:
The type

getArrayDimension

public int getArrayDimension()
Get the dimension of the array represented by this type (if applicable)

Returns:
The dimension

getTypeName

public javax.xml.namespace.QName getTypeName()
Get the "name" attribute of this type

Returns:
The type's name

getChildren

public java.util.List getChildren()
Get a the direct children (SimpleType or ComplexType only) for this element

Returns:
The children


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.