org.apache.ws.jaxme.xs.xml.impl
Class XsObjectImpl
java.lang.Object
org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
- XsObject
public class XsObjectImpl
extends java.lang.Object
Base class for all the types, attributes, elements, ...
XsObjectImpl
protected XsObjectImpl(XsObject pParent)
asXsQName
protected XsQName asXsQName(String pName)
throws SAXException
asXsQName
protected static XsQName asXsQName(XsESchema pSchema,
Locator pLocator,
NamespaceSupport pNss,
String pName)
throws SAXException
getLocator
public Locator getLocator()
Returns the SAX Locator
with the instances
location.
- getLocator in interface XsObject
getNamespaceSupport
protected NamespaceSupport getNamespaceSupport()
getParentObject
public XsObject getParentObject()
Returns information on the parent object.
More precisely, returns either of the following:
- If the object is the schema itself, returns null. The
schema doesn't have a parent object.
- If the object is a top-level object, returns the
schema.
- Otherwise returns the object in which the given object
is embedded.
- getParentObject in interface XsObject
isTopLevelObject
public boolean isTopLevelObject()
Returns whether the object is a top-level object. This is
the case for the XsESchema itself and for all its childs only.
- isTopLevelObject in interface XsObject
isValidated
protected final boolean isValidated()
validate
public void validate()
throws SAXException
Validates the internal state of the type, attribute, element,
or whatever object.
- validate in interface XsObject