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, setUnhandledAttributes
addMetaInfo, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
protected XmlSchemaType(XmlSchema schema, boolean topLevel)
public boolean equals(Object what)
equals
in class XmlSchemaObject
public int hashCode()
hashCode
in class XmlSchemaObject
public 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 XmlSchemaAnnotated
public String getName()
XmlSchemaNamed
getName
in interface XmlSchemaNamed
public XmlSchema getParent()
XmlSchemaNamed
getParent
in interface XmlSchemaNamed
public QName getQName()
XmlSchemaNamed
getQName
in interface XmlSchemaNamed
XmlSchemaNamedWithForm.getWireName()
public boolean isAnonymous()
isAnonymous
in interface XmlSchemaNamed
public boolean isTopLevel()
isTopLevel
in interface XmlSchemaNamed
public void setName(String name)
XmlSchemaNamed
setName
in interface XmlSchemaNamed
name
- 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.