org.apache.ws.jaxme.xs.xml

Interface XsObject

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
Known Implementing Classes:
ConnectionDetails, JAXBAppinfoImpl, JAXBClassImpl, JAXBGlobalBindingsImpl, JAXBJavadocImpl, JAXBJavaTypeImpl, JAXBJavaTypeImpl.JAXBGlobalJavaTypeImpl, JAXBPropertyImpl, JAXBPropertyImpl.BaseTypeImpl, JAXBSchemaBindingsImpl, JAXBSchemaBindingsImpl.NameXmlTransformImpl, JAXBSchemaBindingsImpl.PackageImpl, JAXBSchemaBindingsImpl.NameXmlTransformImpl.NameTransformationImpl, JAXBTypesafeEnumClassImpl, JAXBTypesafeEnumMemberImpl, JAXBXsObjectImpl, JAXBXsSchemaImpl, JaxMeSchemaReader.JaxMeAppinfoImpl, JaxMeSchemaReader.JaxMeGlobalBindingsImpl, JaxMeSGFactory.JaxMeAppinfoImpl, TableDetails, TaminoAPI4JSG.DbDetails, TaminoAPI4JSG.InoDetails, TaminoAPI4JSG.RaDetails, XjcSerializable, 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, XsGAllModelImpl, XsObjectImpl, XsTAllImpl, XsTAnnotatedImpl, XsTAttributeGroupImpl, XsTAttributeGroupRefImpl, XsTAttributeImpl, XsTComplexRestrictionTypeImpl, XsTComplexTypeImpl, XsTElementImpl, XsTExplicitGroupImpl, XsTExtensionTypeImpl, XsTFacetBaseImpl, XsTFacetImpl, XsTFixedFacetImpl, XsTGroupImpl, XsTGroupRefImpl, XsTKeybaseImpl, XsTLocalAllElementImpl, 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

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.
More precisely, 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 internal state of the type, attribute, element, or whatever object.

Method Details

getLocator

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

getObjectFactory

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

getParentObject

public XsObject getParentObject()
Returns information on the parent object.
More precisely, returns either of the following:
  • If the object is the schema itself, returns null. The schema doesn't have a parent object.
  • If the object is a top-level object, returns the schema.
  • Otherwise returns the object in which the given object is embedded.

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()
            throws SAXException
Validates the internal state of the type, attribute, element, or whatever object.