|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.msv.grammar.xmlschema.XMLSchemaGrammar
public class XMLSchemaGrammar
set of XML Schema. This set can be used to validate a document.
| Field Summary | |
|---|---|
protected ExpressionPool |
pool
pool object which was used to construct this grammar. |
protected Map |
schemata
map from namespace URI to loaded XMLSchemaSchema object. |
Expression |
topLevel
|
| Constructor Summary | |
|---|---|
XMLSchemaGrammar()
|
|
XMLSchemaGrammar(ExpressionPool pool)
|
|
| Method Summary | |
|---|---|
XMLSchemaSchema |
getByNamespace(String targetNamesapce)
gets XMLSchemaSchema object that has the given target namespace. |
ExpressionPool |
getPool()
gets ExpressionPool object which was used to construct this grammar. |
Expression |
getTopLevel()
gets top-level expression. |
Iterator |
iterateSchemas()
returns an Iterator that enumerates XMLSchemaSchema objects that are defined in this grammar. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ExpressionPool pool
public Expression topLevel
protected final Map schemata
| Constructor Detail |
|---|
public XMLSchemaGrammar()
public XMLSchemaGrammar(ExpressionPool pool)
| Method Detail |
|---|
public final ExpressionPool getPool()
Grammar
getPool in interface Grammarpublic final Expression getTopLevel()
Grammar
getTopLevel in interface Grammarpublic XMLSchemaSchema getByNamespace(String targetNamesapce)
public Iterator iterateSchemas()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||