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()
XsObjectgetXsESchema in interface XsObjectpublic boolean isTopLevelObject()
XsObjectisTopLevelObject in interface XsObjectpublic XsObject getParentObject()
XsObjectgetParentObject in interface XsObjectpublic XsObjectFactory getObjectFactory()
XsObjectobject factory, that
created this instance.getObjectFactory in interface XsObjectpublic org.xml.sax.Locator getLocator()
XsObjectLocator with the instances
location.getLocator in interface XsObjectprotected org.xml.sax.helpers.NamespaceSupport getNamespaceSupport()
protected XsQName asXsQName(java.lang.String pName) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected 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.SAXExceptionpublic XSContext getContext()
protected final boolean isValidated()