public class JBossXSObject extends Object implements org.apache.xerces.xs.XSObject
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected String |
namespace |
Constructor and Description |
---|
JBossXSObject() |
JBossXSObject(String name,
String namespace) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
The name of type
NCName , as defined in XML Namespaces, of
this declaration specified in the {name} property of the
component or null if the definition of this component
does not have a {name} property. |
String |
getNamespace()
The [target namespace] of this object, or
null if it is
unspecified. |
org.apache.xerces.xs.XSNamespaceItem |
getNamespaceItem()
A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
null otherwise. |
short |
getType()
The
type of this object, i.e. |
int |
hashCode() |
void |
setName(String n) |
void |
setNamespace(String namespace) |
void |
setNamespaceItem(org.apache.xerces.xs.XSNamespaceItem xsNSItem) |
void |
setType(short t) |
public short getType()
type
of this object, i.e.
ELEMENT_DECLARATION
.getType
in interface org.apache.xerces.xs.XSObject
public String getName()
NCName
, as defined in XML Namespaces, of
this declaration specified in the {name}
property of the
component or null
if the definition of this component
does not have a {name}
property. For anonymous types,
the processor must construct and expose an anonymous type name that
is distinct from the name of every named type and the name of every
other anonymous type.getName
in interface org.apache.xerces.xs.XSObject
public void setName(String n)
public String getNamespace()
null
if it is
unspecified.getNamespace
in interface org.apache.xerces.xs.XSObject
public void setNamespace(String namespace)
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
null
otherwise.getNamespaceItem
in interface org.apache.xerces.xs.XSObject
public void setNamespaceItem(org.apache.xerces.xs.XSNamespaceItem xsNSItem)
public void setType(short t)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.