|
XmlSchema Core 2.0.2-redhat-2 | |||||||||
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 | |
---|---|
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. |
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, equals, finalize, getClass, hashCode, 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 XmlSchemaForm getForm()
getForm
in interface XmlSchemaNamedWithForm
XmlSchemaForm.QUALIFIED
or XmlSchemaForm.UNQUALIFIED
.public boolean isFormSpecified()
isFormSpecified
in interface XmlSchemaNamedWithForm
public void setForm(XmlSchemaForm form)
setForm
in interface XmlSchemaNamedWithForm
form
- Schema form. Pass in XmlSchemaForm.NONE to inherit
from the parent schema.public void setName(String name)
setName
in interface XmlSchemaNamed
setName
in class XmlSchemaNamedImpl
name
- the name.public QName getWireName()
getWireName
in interface XmlSchemaNamedWithForm
|
XmlSchema Core 2.0.2-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |