Package com.sun.msv.grammar.relax
Class RELAXModule
java.lang.Object
com.sun.msv.grammar.relax.RELAXModule
- All Implemented Interfaces:
Grammar
,Serializable
"Module" of RELAX Core.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal class
class
Datatypes.final class
final class
final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionmap from role name to AttPoolClause objectmap from label name to ElementRules objectmap from label name to HedgeRules objectfinal ExpressionPool
ExpressionPool object which was used to create this module.private static final long
final RELAXModule.TagContainer
map from role name to TagClause objectfinal String
target namespace URIchioce of all exported elementRules and hedgeRules. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPool()
gets ExpressionPool object which was used to construct this grammar.gets top-level expression.
-
Field Details
-
elementRules
map from label name to ElementRules object -
hedgeRules
map from label name to HedgeRules object -
tags
map from role name to TagClause object -
attPools
map from role name to AttPoolClause object -
targetNamespace
target namespace URI -
datatypes
-
topLevel
chioce of all exported elementRules and hedgeRules. This can be used as the top-level expression when a module is used to validate documents by itself. -
pool
ExpressionPool object which was used to create this module. -
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
RELAXModule
-
-
Method Details
-
getTopLevel
Description copied from interface:Grammar
gets top-level expression. This expression shall be the constraint over the document element. Never return null.- Specified by:
getTopLevel
in interfaceGrammar
-
getPool
Description copied from interface:Grammar
gets ExpressionPool object which was used to construct this grammar. Never return null.
-