public class XmlSchemaNamedWithFormImpl extends XmlSchemaNamedImpl implements XmlSchemaNamedWithForm
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(Object what) |
XmlSchemaForm |
getForm()
Return the effective 'form' for this item.
|
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(String name)
Set the name.
|
getName, getParent, getQName, isAnonymous, isTopLevel, setRefObjectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetName, getParent, getQName, isAnonymous, isTopLevelpublic 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(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(String name)
setName in interface XmlSchemaNamedsetName in class XmlSchemaNamedImplname - the name.public QName getWireName()
getWireName in interface XmlSchemaNamedWithFormCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.