public class XmlSchemaNamedWithFormImpl extends XmlSchemaNamedImpl implements XmlSchemaNamedWithForm
| Modifier and Type | Field and Description |
|---|---|
private boolean |
element |
private XmlSchemaForm |
form |
private javax.xml.namespace.QName |
wireName |
parentSchema, refTwin| Constructor and Description |
|---|
XmlSchemaNamedWithFormImpl(XmlSchema parent,
boolean topLevel,
boolean element)
Delegate object for managing names for attributes and elements.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object what) |
XmlSchemaForm |
getForm()
Return the effective 'form' for this item.
|
javax.xml.namespace.QName |
getWireName()
The name of this item as it is sent 'over the wire' or stored
in an XML file.
|
int |
hashCode() |
boolean |
isFormSpecified()
True if this item has a specified form, false if it inherits from
the parent schema.
|
void |
setForm(XmlSchemaForm form)
Set the schema form.
|
void |
setName(java.lang.String name)
Set the name.
|
getName, getParent, getQName, isAnonymous, isTopLevel, setRefObjectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetName, getParent, getQName, isAnonymous, isTopLevelprivate XmlSchemaForm form
private boolean element
private javax.xml.namespace.QName wireName
public XmlSchemaNamedWithFormImpl(XmlSchema parent, boolean topLevel, boolean element)
parent - containing schema.topLevel - if this object is global.element - true for an element, false for an attribute.public boolean equals(java.lang.Object what)
equals in class XmlSchemaNamedImplpublic int hashCode()
hashCode in class XmlSchemaNamedImplpublic XmlSchemaForm getForm()
getForm in interface XmlSchemaNamedWithFormXmlSchemaForm.QUALIFIED or XmlSchemaForm.UNQUALIFIED.public boolean isFormSpecified()
isFormSpecified in interface XmlSchemaNamedWithFormpublic void setForm(XmlSchemaForm form)
setForm in interface XmlSchemaNamedWithFormform - Schema form. Pass in XmlSchemaForm.NONE to inherit
from the parent schema.public void setName(java.lang.String name)
setName in interface XmlSchemaNamedsetName in class XmlSchemaNamedImplname - the name.public javax.xml.namespace.QName getWireName()
getWireName in interface XmlSchemaNamedWithForm