Method Summary |
|
public void | addAnnotation(XSAnnotationImpl annotation) |
public void | addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator) |
public synchronized void | addDocument(Object document, String location) |
public void | addGlobalAttributeDecl(XSAttributeDecl decl) |
public void | addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl) |
public void | addGlobalElementDecl(XSElementDecl decl) |
public void | addGlobalGroupDecl(XSGroupDecl decl) |
public void | addGlobalNotationDecl(XSNotationDecl decl) |
public void | addGlobalTypeDecl(XSTypeDefinition decl) |
final public void | addIDConstraintDecl(XSElementDecl elmDecl, IdentityConstraint decl) |
public void | addRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator) |
public XSObjectList | getAnnotations() |
public XSAttributeDeclaration | getAttributeDeclaration(String name) Convenience method. |
public XSAttributeGroupDefinition | getAttributeGroup(String name) Convenience method. |
public synchronized XSNamedMap | getComponents(short objectType) [schema components]: a list of top-level components, i.e. |
synchronized DOMParser | getDOMParser() |
public StringList | getDocumentLocations() |
public XSElementDeclaration | getElementDeclaration(String name) Convenience method. |
final public XSAttributeDecl | getGlobalAttributeDecl(String declName) |
final public XSAttributeGroupDecl | getGlobalAttributeGroupDecl(String declName) |
final public XSElementDecl | getGlobalElementDecl(String declName) |
final public XSGroupDecl | getGlobalGroupDecl(String declName) |
final public XSNotationDecl | getGlobalNotationDecl(String declName) |
final public XSTypeDefinition | getGlobalTypeDecl(String declName) |
public XMLGrammarDescription | getGrammarDescription() |
final public IdentityConstraint | getIDConstraintDecl(String declName) |
public Vector | getImportedGrammars() |
public XSModelGroupDefinition | getModelGroupDefinition(String name) Convenience method. |
public XSNotationDeclaration | getNotationDeclaration(String name) Convenience method. |
final SimpleLocator[] | getRGLocators() |
final XSGroupDecl[] | getRedefinedGroupDecls() |
synchronized SAXParser | getSAXParser() |
public String | getSchemaNamespace() |
final XSElementDecl[] | getSubstitutionGroups() |
final public String | getTargetNamespace() Returns this grammar's target namespace. |
public XSTypeDefinition | getTypeDefinition(String name) Convenience method. |
final SimpleLocator[] | getUncheckedCTLocators() |
final XSComplexTypeDecl[] | getUncheckedComplexTypeDecls() |
final public boolean | hasIDConstraints() |
public boolean | isNamespaceAware() |
final static XSComplexTypeDecl[] | resize(XSComplexTypeDecl[] oldArray, int newSize) |
final static XSGroupDecl[] | resize(XSGroupDecl[] oldArray, int newSize) |
final static XSElementDecl[] | resize(XSElementDecl[] oldArray, int newSize) |
final static SimpleLocator[] | resize(SimpleLocator[] oldArray, int newSize) |
public void | setImportedGrammars(Vector importedGrammars) |
final void | setUncheckedTypeNum(int newSize) after the first-round checking, some types don't need to be checked
against UPA again. |
public XSModel | toXSModel() Return an XSModel that represents components in this schema
grammar. |
public XSModel | toXSModel(XSGrammar[] grammars) |