org.apache.ws.jaxme.xs

Interface XSObject

public interface XSObject

A common base interface for all other schema objects.

Author: Jochen Wiedmann

Method Summary
LocatorgetLocator()

Returns the objects location.

XSObjectgetParentObject()

Returns either of the following:

  • If the object is the schema itself, returns null.
XSSchemagetXSSchema()

Returns the objects schema.

booleanisTopLevelObject()

Returns whether the object is a top-level object.

voidvalidate()

Validates the objects internal state.

Method Detail

getLocator

public Locator getLocator()

Returns the objects location.

getParentObject

public XSObject getParentObject()

Returns either of the following:

getXSSchema

public XSSchema getXSSchema()

Returns the objects 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 objects internal state.