|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.commons.schema.utils.XmlSchemaNamedImpl
org.apache.ws.commons.schema.utils.XmlSchemaNamedWithFormImpl
public class XmlSchemaNamedWithFormImpl
| Field Summary |
|---|
| Fields inherited from class org.apache.ws.commons.schema.utils.XmlSchemaNamedImpl |
|---|
parentSchema, refTwin |
| Constructor Summary | |
|---|---|
XmlSchemaNamedWithFormImpl(XmlSchema parent,
boolean topLevel,
boolean element)
Delegate object for managing names for attributes and elements. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.ws.commons.schema.utils.XmlSchemaNamedImpl |
|---|
getName, getParent, getQName, isAnonymous, isTopLevel, setRefObject |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.ws.commons.schema.utils.XmlSchemaNamed |
|---|
getName, getParent, getQName, isAnonymous, isTopLevel |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
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 XmlSchemaNamedWithForm
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||