|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--mozile.rng.Node | +--mozile.rng.ZeroOrMore
Defined in rng.js
Constructor Summary | |
mozile.rng.ZeroOrMore
()
Represents an RNG "zeroOrMore" element. |
Method Summary | |
Boolean
|
mustHave(<String> type)
True if the type is "zeroOrMore". |
mozile.rng.Validation
|
validate(<Node> node, <mozile.rng.Validation> validation)
Validates the node. |
Methods inherited from class mozile.rng.Node |
toString, getType, getSchema, getGrammar, getParentNode, getParentElement, getNextSibling, getChildNodes, getChildNode, appendChild, removeChild, getDescendants, mustContain, mayContain, mayHave, reset, resetAll, selfValidate, selfValidateAll
|
Constructor Detail |
mozile.rng.ZeroOrMore()
element
- The RNG element to represent.
Method Detail |
Boolean mustHave(<String> type)
type
- The type to be matched.
mozile.rng.Validation validate(<Node> node, <mozile.rng.Validation> validation)
node
- The node to be validated.
validation
- The mozile.rng.Validation object for this validation operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |