Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.ws.jaxme.xs.xml
Interface XsObject  view XsObject download XsObject.java

All Known Subinterfaces:
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

public interface XsObject

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


Method Summary
 org.xml.sax.Locator getLocator()
          Returns the SAX org.xml.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 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:
  • 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.


getObjectFactory

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


getLocator

public org.xml.sax.Locator getLocator()
Returns the SAX org.xml.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.