|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Replaces DTDDocument and provides access to the grammars of DTDs and Schemas through a single interface. Provides access to the definitions of elements (complex types) and attributes (simple types).
Method Summary | |
GrammarComplexType |
getGrammarComplexType(GrammarComplexType parent,
java.lang.String name)
Gets a complex type that is defined within the scope of a parent based on its name. |
GrammarComplexType |
getTopLevelGrammarComplexType(java.lang.String name)
Gets a specific top level complex type. |
GrammarComplexType[] |
getTopLevelGrammarComplexTypes()
Gets the elements that are defined in the top level. |
Method Detail |
public GrammarComplexType[] getTopLevelGrammarComplexTypes()
public GrammarComplexType getTopLevelGrammarComplexType(java.lang.String name)
name
- The name of a named, top level element.
public GrammarComplexType getGrammarComplexType(GrammarComplexType parent, java.lang.String name)
parent
- The parent element.name
- The child element name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |