public abstract class XmlSchemaType extends XmlSchemaAnnotated implements XmlSchemaNamed
| Modifier | Constructor and Description |
|---|---|
protected |
XmlSchemaType(XmlSchema schema,
boolean topLevel)
Creates new XmlSchemaType
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object what) |
XmlSchemaDerivationMethod |
getDeriveBy() |
XmlSchemaDerivationMethod |
getFinal() |
XmlSchemaDerivationMethod |
getFinalDerivation() |
XmlSchemaDerivationMethod |
getFinalResolved() |
String |
getName()
Retrieve the name.
|
XmlSchema |
getParent()
Retrieve the parent schema.
|
QName |
getQName()
Get the QName for this object.
|
int |
hashCode() |
boolean |
isAnonymous() |
boolean |
isMixed() |
boolean |
isTopLevel() |
void |
setDeriveBy(XmlSchemaDerivationMethod deriveBy) |
void |
setFinal(XmlSchemaDerivationMethod finalDerivationValue) |
void |
setFinalDerivation(XmlSchemaDerivationMethod finalDerivation) |
void |
setMixed(boolean isMixedValue) |
void |
setName(String name)
Set the name.
|
String |
toString() |
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributesaddMetaInfo, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURIprotected XmlSchemaType(XmlSchema schema, boolean topLevel)
public boolean equals(Object what)
equals in class XmlSchemaObjectpublic int hashCode()
hashCode in class XmlSchemaObjectpublic XmlSchemaDerivationMethod getDeriveBy()
public XmlSchemaDerivationMethod getFinal()
public void setFinal(XmlSchemaDerivationMethod finalDerivationValue)
public XmlSchemaDerivationMethod getFinalResolved()
public boolean isMixed()
public void setMixed(boolean isMixedValue)
public String toString()
toString in class XmlSchemaAnnotatedpublic String getName()
XmlSchemaNamedgetName in interface XmlSchemaNamedpublic XmlSchema getParent()
XmlSchemaNamedgetParent in interface XmlSchemaNamedpublic QName getQName()
XmlSchemaNamedgetQName in interface XmlSchemaNamedXmlSchemaNamedWithForm.getWireName()public boolean isAnonymous()
isAnonymous in interface XmlSchemaNamedpublic boolean isTopLevel()
isTopLevel in interface XmlSchemaNamedpublic void setName(String name)
XmlSchemaNamedsetName in interface XmlSchemaNamedname - the name.public void setFinalDerivation(XmlSchemaDerivationMethod finalDerivation)
public XmlSchemaDerivationMethod getFinalDerivation()
public void setDeriveBy(XmlSchemaDerivationMethod deriveBy)
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.