org.apache.ws.jaxme.xs.xml
Interface XsObject

All Known Subinterfaces:
JAXBClass, JAXBJavadoc, JAXBJavaType, JAXBJavaType.JAXBGlobalJavaType, JAXBProperty, JAXBProperty.BaseType, JAXBSchemaBindings.NameTransformation, JAXBSchemaBindings.NameXmlTransform, JAXBSchemaBindings.Package, JAXBXsSchema, XsEAnnotation, XsEAny, XsEAppinfo, XsEChoice, XsEComplexContent, XsEDocumentation, XsEEnumeration, XsEField, XsEFractionDigits, XsEImport, XsEInclude, XsEKey, XsEKeyref, XsELength, XsEList, XsEMaxExclusive, XsEMaxInclusive, XsEMaxLength, XsEMinExclusive, XsEMinInclusive, XsEMinLength, XsENotation, XsEPattern, XsERedefine, XsERestriction, XsESchema, XsESelector, XsESequence, XsESimpleContent, XsETopLevelSimpleType, XsETotalDigits, XsEUnion, XsEUnique, XsEWhiteSpace, XsTAll, XsTAnnotated, XsTAttribute, XsTAttributeGroup, XsTAttributeGroupRef, XsTComplexRestrictionType, XsTComplexType, XsTElement, XsTExplicitGroup, XsTExtensionType, XsTFacet, XsTFacetBase, XsTFixedFacet, XsTGroup, XsTGroupRef, XsTKeybase, XsTLocalComplexType, XsTLocalElement, XsTLocalSimpleType, XsTNamedGroup, XsTNumFacet, XsTOpenAttrs, XsTRealGroup, XsTRestrictionType, XsTSimpleExplicitGroup, XsTSimpleExtensionType, XsTSimpleRestrictionType, XsTSimpleType, XsTTopLevelComplexType, XsTTopLevelElement, XsTWildcard
All Known Implementing Classes:
JAXBClassImpl, JAXBJavadocImpl, JAXBJavaTypeImpl, JAXBJavaTypeImpl.JAXBGlobalJavaTypeImpl, JAXBPropertyImpl, JAXBPropertyImpl.BaseTypeImpl, JAXBSchemaBindingsImpl.NameXmlTransformImpl, JAXBSchemaBindingsImpl.NameXmlTransformImpl.NameTransformationImpl, JAXBSchemaBindingsImpl.PackageImpl, JAXBXsSchemaImpl, XsEAnnotationImpl, XsEAnyImpl, XsEAppinfoImpl, XsEChoiceImpl, XsEComplexContentImpl, XsEDocumentationImpl, XsEEnumerationImpl, XsEFieldImpl, XsEFractionDigitsImpl, XsEImportImpl, XsEIncludeImpl, XsEKeyImpl, XsEKeyrefImpl, XsELengthImpl, XsEListImpl, XsEMaxExclusiveImpl, XsEMaxInclusiveImpl, XsEMaxLengthImpl, XsEMinExclusiveImpl, XsEMinInclusiveImpl, XsEMinLengthImpl, XsENotationImpl, XsEPatternImpl, XsERedefineImpl, XsERestrictionImpl, XsESchemaImpl, XsESelectorImpl, XsESequenceImpl, XsESimpleContentImpl, XsETopLevelSimpleTypeImpl, XsETotalDigitsImpl, XsEUnionImpl, XsEUniqueImpl, XsEWhiteSpaceImpl, XsObjectImpl, XsTAllImpl, XsTAnnotatedImpl, XsTAttributeGroupImpl, XsTAttributeGroupRefImpl, XsTAttributeImpl, XsTComplexRestrictionTypeImpl, XsTComplexTypeImpl, XsTElementImpl, XsTExplicitGroupImpl, XsTExtensionTypeImpl, XsTFacetBaseImpl, XsTFixedFacetImpl, XsTGroupImpl, XsTGroupRefImpl, XsTKeybaseImpl, XsTLocalComplexTypeImpl, XsTLocalElementImpl, XsTLocalSimpleTypeImpl, XsTNamedGroupImpl, XsTNumFacetImpl, XsTOpenAttrsImpl, XsTRealGroupImpl, XsTRestrictionTypeImpl, XsTSimpleExplicitGroupImpl, XsTSimpleExtensionTypeImpl, XsTSimpleRestrictionTypeImpl, XsTSimpleTypeImpl, XsTTopLevelComplexTypeImpl, XsTTopLevelElementImpl, XsTWildcardImpl

public interface XsObject

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

Author:
Jochen Wiedmann

Method Summary
 org.xml.sax.Locator getLocator()
          Returns the SAX Locator with the instances location.
 XsObjectFactory getObjectFactory()
          Returns the object factory, that created this instance.
 XsObject getParentObject()
          Returns information on the parent object.
 XsESchema getXsESchema()
          Returns the objects syntactical schema.
 boolean isTopLevelObject()
          Returns whether the object is a top-level object.
 void validate()
          Validates the internal state of the type, attribute, element, or whatever object.
 

Method Detail

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.


getParentObject

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


getObjectFactory

public XsObjectFactory getObjectFactory()
Returns the object factory, that created this instance.


getLocator

public org.xml.sax.Locator getLocator()
Returns the SAX Locator with the instances location.


validate

public void validate()
              throws org.xml.sax.SAXException
Validates the internal state of the type, attribute, element, or whatever object.

Throws:
org.xml.sax.SAXException