net.sf.jaxme.xs.xml
Interface XsObject

All Known Subinterfaces:
JAXBClass, JAXBJavadoc, JAXBJavaType, JAXBJavaType.JAXBGlobalJavaType, JAXBProperty, JAXBProperty.BaseType, JAXBSchemaBindings.NameTransformation, JAXBSchemaBindings.NameXmlTransformation, 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.NameXmlTransformationImpl, JAXBSchemaBindingsImpl.NameXmlTransformationImpl.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 all the types, attributes, elements, ...

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 either of the following: If the object is the schema itself, returns null.
 XsESchema getXsESchema()
          Returns the objects syntactical schema.
 boolean isTopLevelObject()
          Returns whether the object is a top-level object.
 void validate()
          Validates the types, attributes, elements, ... internal state.
 

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 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 types, attributes, elements, ... internal state.

Throws:
org.xml.sax.SAXException