org.apache.wsif.schema
Class SimpleType

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

public class SimpleType
extends SchemaType
implements java.io.Serializable

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

Author:
Owen Burroughs
See Also:
Serialized Form

Method Summary
 javax.xml.namespace.QName getTypeName()
          Get the "name" attribute of this type
 boolean isComplex()
          Get a flag to indicate if this type is a complexType
 boolean isSimple()
          Get a flag to indicate if this type is a simpleType
 
Methods inherited from class org.apache.wsif.schema.SchemaType
getArrayDimension, getArrayType, getChildren, isArray, isElement
 
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()

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()

isSimple

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

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


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