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 XmlSchemaNamed
public boolean isAnonymous()
isAnonymous
in interface XmlSchemaNamed
public void setName(String name)
setName
in interface XmlSchemaNamed
name
- the name.public XmlSchema getParent()
getParent
in interface XmlSchemaNamed
public QName getQName()
getQName
in interface XmlSchemaNamed
XmlSchemaNamedWithForm.getWireName()
public boolean isTopLevel()
isTopLevel
in interface XmlSchemaNamed
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.