public class XsObjectImpl extends java.lang.Object implements XsObject
Base class for all the types, attributes, elements, ...
Modifier | Constructor and Description |
---|---|
protected |
XsObjectImpl(XsObject pParent) |
Modifier and Type | Method and Description |
---|---|
protected XsQName |
asXsQName(java.lang.String pName) |
protected static XsQName |
asXsQName(XsESchema pSchema,
org.xml.sax.Locator pLocator,
org.xml.sax.helpers.NamespaceSupport pNss,
java.lang.String pName) |
XSContext |
getContext() |
org.xml.sax.Locator |
getLocator()
Returns the SAX
Locator with the instances
location. |
protected org.xml.sax.helpers.NamespaceSupport |
getNamespaceSupport() |
XsObjectFactory |
getObjectFactory()
Returns the
object factory , that
created this instance. |
XsObject |
getParentObject()
Returns information on the parent object.
More precisely, returns either of the following: If the object is the schema itself, returns null. |
XsESchema |
getXsESchema()
Returns the objects syntactical schema.
|
boolean |
isTopLevelObject()
Returns whether the object is a top-level object.
|
protected boolean |
isValidated() |
void |
validate()
Validates the internal state of the type, attribute, element,
or whatever object.
|
protected XsObjectImpl(XsObject pParent)
public XsESchema getXsESchema()
XsObject
getXsESchema
in interface XsObject
public boolean isTopLevelObject()
XsObject
isTopLevelObject
in interface XsObject
public XsObject getParentObject()
XsObject
getParentObject
in interface XsObject
public XsObjectFactory getObjectFactory()
XsObject
object factory
, that
created this instance.getObjectFactory
in interface XsObject
public org.xml.sax.Locator getLocator()
XsObject
Locator
with the instances
location.getLocator
in interface XsObject
protected org.xml.sax.helpers.NamespaceSupport getNamespaceSupport()
protected XsQName asXsQName(java.lang.String pName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected static XsQName asXsQName(XsESchema pSchema, org.xml.sax.Locator pLocator, org.xml.sax.helpers.NamespaceSupport pNss, java.lang.String pName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XSContext getContext()
protected final boolean isValidated()