org.apache.ws.jaxme.xs.xml

Interface XsObject

public interface XsObject

Base interface for type, attribute, element, or whatever object.

Author: Jochen Wiedmann

Method Summary
LocatorgetLocator()
Returns the SAX {@link Locator} with the instances location.
XsObjectFactorygetObjectFactory()
Returns the {@link XsObjectFactory object factory}, that created this instance.
XsObjectgetParentObject()
Returns information on the parent object.
More precisely, returns either of the following:
  • If the object is the schema itself, returns null.
XsESchemagetXsESchema()
Returns the objects syntactical schema.
booleanisTopLevelObject()
Returns whether the object is a top-level object.
voidvalidate()
Validates the internal state of the type, attribute, element, or whatever object.

Method Detail

getLocator

public Locator getLocator()
Returns the SAX {@link Locator} with the instances location.

getObjectFactory

public XsObjectFactory getObjectFactory()
Returns the {@link XsObjectFactory object factory}, that created this instance.

getParentObject

public XsObject getParentObject()
Returns information on the parent object.
More precisely, returns either of the following:

getXsESchema

public XsESchema getXsESchema()
Returns the objects syntactical schema.

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.

validate

public void validate()
Validates the internal state of the type, attribute, element, or whatever object.