org.apache.ws.jaxme.xs.impl
Class XSObjectImpl
java.lang.Object
org.apache.ws.jaxme.xs.impl.XSObjectImpl
- XSObject
public abstract class XSObjectImpl
extends java.lang.Object
getLocator
public Locator getLocator()
Returns the objects location.
- getLocator in interface XSObject
getParentObject
public XSObject getParentObject()
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
getXsObject
protected XsObject getXsObject()
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
validate
public void validate()
throws SAXException
Validates the objects internal state.
- validate in interface XSObject
validateAllIn
protected final void validateAllIn(XSObject[] objects)
throws SAXException
Utility method used to call validate() on every element within an
array.
objects
- Array must not have any null elements.