org.apache.wsif.schema
Class ElementType

java.lang.Object
  |
  +--org.apache.wsif.schema.SchemaType
        |
        +--org.apache.wsif.schema.ElementType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SequenceElement

public class ElementType
extends SchemaType
implements java.io.Serializable

A class to represent a top level <element> element in a schema

Author:
Owen Burroughs
See Also:
Serialized Form

Method Summary
 java.util.List getChildren()
          Get a the direct children (SimpleType or ComplexType only) for this element
 javax.xml.namespace.QName getElementType()
           
 javax.xml.namespace.QName getTypeName()
          Get the "name" attribute of this type
 boolean isElement()
          Get a flag to indicate if this type is an element type
 boolean isNillable()
           
 
Methods inherited from class org.apache.wsif.schema.SchemaType
getArrayDimension, getArrayType, isArray, isComplex, isSimple
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isElement

public boolean isElement()
Description copied from class: SchemaType
Get a flag to indicate if this type is an element type
Overrides:
isElement in class SchemaType
See Also:
SchemaType.isElement()

getTypeName

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

getElementType

public javax.xml.namespace.QName getElementType()

isNillable

public boolean isNillable()

getChildren

public java.util.List getChildren()
Description copied from class: SchemaType
Get a the direct children (SimpleType or ComplexType only) for this element
Overrides:
getChildren in class SchemaType
See Also:
SchemaType.getChildren()


Copyright © 2002, 2003 Apache XML Project. All Rights Reserved.