net.sf.jaxme.xs
Interface XSObject

All Known Subinterfaces:
JAXBAttribute, JAXBElement, JAXBEnumeration, JAXBGroup, JAXBSchema, JAXBType, XSAnnotation, XSAny, XSAppinfo, XSAttribute, XSAttributeGroup, XSDocumentation, XSElement, XSEnumeration, XSGroup, XSNotation, XSSchema, XSType, XSWildcard
All Known Implementing Classes:
AbstractSimpleType, JAXBAttributeImpl, JAXBElementImpl, JAXBEnumerationImpl, JAXBGroupImpl, JAXBSchemaImpl, JAXBTypeImpl, XSAnnotationImpl, XSAnyImpl, XSAppinfoImpl, XSAttributeGroupImpl, XSAttributeImpl, XSDocumentationImpl, XSElementImpl, XSEnumerationImpl, XSGroupImpl, XSNotationImpl, XSObjectImpl, XSSchemaImpl, XSTypeImpl, XSWildcardImpl

public interface XSObject

A common base interface for all other schema objects.

Author:
Jochen Wiedmann

Method Summary
 org.xml.sax.Locator getLocator()
          Returns the objects location.
 XSObject getParentObject()
          Returns either of the following: If the object is the schema itself, returns null.
 XSSchema getXSSchema()
          Returns the objects schema.
 boolean isTopLevelObject()
          Returns whether the object is a top-level object.
 void validate()
          Validates the objects internal state.
 

Method Detail

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.


getParentObject

public XSObject getParentObject()

Returns either of the following:


getLocator

public org.xml.sax.Locator getLocator()

Returns the objects location.


validate

public void validate()
              throws org.xml.sax.SAXException

Validates the objects internal state.

Throws:
org.xml.sax.SAXException