org.apache.wsif.schema
Class ComplexType

java.lang.Object
  extended byorg.apache.wsif.schema.SchemaType
      extended byorg.apache.wsif.schema.ComplexType
All Implemented Interfaces:
java.io.Serializable

public class ComplexType
extends SchemaType
implements java.io.Serializable

A class to represent a <complexType> element in a schema

Author:
Owen Burroughs
See Also:
Serialized Form

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)
 SequenceElement[] getSequenceElements()
          Get all the <element> elements within a sequence nested in this complexType
 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
 
Methods inherited from class org.apache.wsif.schema.SchemaType
getChildren, isElement, isSimple
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isComplex

public boolean isComplex()
Description copied from class: SchemaType
Get a flag to indicate if this type is a complexType

Overrides:
isComplex in class SchemaType
Returns:
The boolean flag
See Also:
SchemaType.isComplex()

isArray

public boolean isArray()
Description copied from class: SchemaType
Get a flag to indicate if this type represents an array

Overrides:
isArray in class SchemaType
Returns:
The boolean flag
See Also:
SchemaType.isArray()

getArrayType

public javax.xml.namespace.QName getArrayType()
Description copied from class: SchemaType
Get the type of the elements in the array represented by this type (if applicable)

Overrides:
getArrayType in class SchemaType
Returns:
The type
See Also:
SchemaType.getArrayType()

getArrayDimension

public int getArrayDimension()
Description copied from class: SchemaType
Get the dimension of the array represented by this type (if applicable)

Overrides:
getArrayDimension in class SchemaType
Returns:
The dimension
See Also:
SchemaType.getArrayDimension()

getTypeName

public javax.xml.namespace.QName getTypeName()
Description copied from class: SchemaType
Get the "name" attribute of this type

Overrides:
getTypeName in class SchemaType
Returns:
The type's name
See Also:
SchemaType.getTypeName()

getSequenceElements

public SequenceElement[] getSequenceElements()
Get all the <element> elements within a sequence nested in this complexType

Returns:
The <element> elements within the sequnce


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