org.apache.wsif.schema
Class ElementType

java.lang.Object
  |
  +--org.apache.wsif.schema.SchemaType
        |
        +--org.apache.wsif.schema.ElementType

public class ElementType
extends SchemaType

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

Author:
Owen Burroughs

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
 
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()
See Also:
SchemaType.getTypeName()

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, 2002 Apache XML Project. All Rights Reserved.