public class XmlSchemaElement extends XmlSchemaParticle implements TypeReceiver
unhandledAttributes
Constructor and Description |
---|
XmlSchemaElement()
Creates new XmlSchemaElement
|
Modifier and Type | Method and Description |
---|---|
XmlSchemaDerivationMethod |
getBlock() |
XmlSchemaDerivationMethod |
getBlockResolved() |
XmlSchemaObjectCollection |
getConstraints()
Returns a collection of constraints on the element.
|
String |
getDefaultValue() |
Object |
getElementType() |
XmlSchemaDerivationMethod |
getFinal() |
String |
getFixedValue() |
XmlSchemaForm |
getForm() |
String |
getName() |
javax.xml.namespace.QName |
getQName() |
javax.xml.namespace.QName |
getRefName() |
XmlSchemaType |
getSchemaType() |
javax.xml.namespace.QName |
getSchemaTypeName() |
javax.xml.namespace.QName |
getSubstitutionGroup() |
boolean |
isAbstract() |
boolean |
isNillable() |
void |
setAbstract(boolean isAbstract) |
void |
setBlock(XmlSchemaDerivationMethod block) |
void |
setDefaultValue(String defaultValue) |
void |
setFinal(XmlSchemaDerivationMethod finalDerivation) |
void |
setFixedValue(String fixedValue) |
void |
setForm(XmlSchemaForm form) |
void |
setName(String name) |
void |
setNillable(boolean isNillable) |
void |
setQName(javax.xml.namespace.QName qualifiedName) |
void |
setRefName(javax.xml.namespace.QName refName) |
void |
setSchemaType(XmlSchemaType schemaType) |
void |
setSchemaTypeName(javax.xml.namespace.QName schemaTypeName) |
void |
setSubstitutionGroup(javax.xml.namespace.QName substitutionGroup) |
void |
setType(XmlSchemaType type) |
String |
toString(String prefix,
int tab) |
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toString
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
public XmlSchemaObjectCollection getConstraints()
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public XmlSchemaDerivationMethod getBlock()
public void setBlock(XmlSchemaDerivationMethod block)
public XmlSchemaDerivationMethod getFinal()
public void setFinal(XmlSchemaDerivationMethod finalDerivation)
public XmlSchemaDerivationMethod getBlockResolved()
public String getFixedValue()
public void setFixedValue(String fixedValue)
public Object getElementType()
public XmlSchemaForm getForm()
public void setForm(XmlSchemaForm form)
public boolean isAbstract()
public void setAbstract(boolean isAbstract)
public boolean isNillable()
public void setNillable(boolean isNillable)
public String getName()
public void setName(String name)
public javax.xml.namespace.QName getRefName()
public void setRefName(javax.xml.namespace.QName refName)
public javax.xml.namespace.QName getQName()
public void setQName(javax.xml.namespace.QName qualifiedName)
public XmlSchemaType getSchemaType()
public void setSchemaType(XmlSchemaType schemaType)
public javax.xml.namespace.QName getSchemaTypeName()
public void setSchemaTypeName(javax.xml.namespace.QName schemaTypeName)
public javax.xml.namespace.QName getSubstitutionGroup()
public void setSubstitutionGroup(javax.xml.namespace.QName substitutionGroup)
public String toString(String prefix, int tab)
toString
in class XmlSchemaObject
public void setType(XmlSchemaType type)
setType
in interface TypeReceiver
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.