org.apache.ws.commons.schema
Class XmlSchemaType
java.lang.Object
org.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaAnnotated
org.apache.ws.commons.schema.XmlSchemaType
- Direct Known Subclasses:
- XmlSchemaComplexType, XmlSchemaSimpleType
public class XmlSchemaType
- extends XmlSchemaAnnotated
The base class for all simple types and complex types.
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject |
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XmlSchemaType
public XmlSchemaType(XmlSchema schema)
- Creates new XmlSchemaType
getBaseSchemaType
public java.lang.Object getBaseSchemaType()
- This function returns null. It is intended at some point to return the base type in the event of a restriction,
but that functionality is not implemented.
- Returns:
- null
- See Also:
getBaseSchemaTypeName()
getBaseSchemaTypeName
public javax.xml.namespace.QName getBaseSchemaTypeName()
- If there is a base schema type, which by definition has to have a global name, return it.
- Returns:
- the qualified name of the base schema type. Return null if none (e.g. for simple types).
getDataType
public XmlSchemaDatatype getDataType()
getDeriveBy
public XmlSchemaDerivationMethod getDeriveBy()
getFinal
public XmlSchemaDerivationMethod getFinal()
setFinal
public void setFinal(XmlSchemaDerivationMethod finalDerivation)
getFinalResolved
public XmlSchemaDerivationMethod getFinalResolved()
isMixed
public boolean isMixed()
setMixed
public void setMixed(boolean isMixed)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getQName
public javax.xml.namespace.QName getQName()
toString
public java.lang.String toString()
- Overrides:
toString
in class XmlSchemaAnnotated
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.