public class XmlSchemaNamedImpl extends Object implements XmlSchemaNamed
| Modifier and Type | Field and Description |
|---|---|
protected XmlSchema |
parentSchema |
protected XmlSchemaRefBase |
refTwin |
| Constructor and Description |
|---|
XmlSchemaNamedImpl(XmlSchema parent,
boolean topLevel)
Create a new named object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object what) |
String |
getName()
Retrieve the name.
|
XmlSchema |
getParent()
Retrieve the parent schema.
|
QName |
getQName()
Get the QName for this object.
|
int |
hashCode() |
boolean |
isAnonymous() |
boolean |
isTopLevel() |
void |
setName(String name)
Set the name.
|
void |
setRefObject(XmlSchemaRefBase refBase)
If the named object also implements ref=, it should pass the reference object
here for some error checking.
|
protected XmlSchema parentSchema
protected XmlSchemaRefBase refTwin
public XmlSchemaNamedImpl(XmlSchema parent, boolean topLevel)
parent - the parent schema.public void setRefObject(XmlSchemaRefBase refBase)
refBase - public String getName()
getName in interface XmlSchemaNamedpublic boolean isAnonymous()
isAnonymous in interface XmlSchemaNamedpublic void setName(String name)
setName in interface XmlSchemaNamedname - the name.public XmlSchema getParent()
getParent in interface XmlSchemaNamedpublic QName getQName()
getQName in interface XmlSchemaNamedXmlSchemaNamedWithForm.getWireName()public boolean isTopLevel()
isTopLevel in interface XmlSchemaNamedCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.