Class mozile.rng.Optional

Object
   |
   +--mozile.rng.Node
         |
         +--mozile.rng.Optional

class mozile.rng.Optional
extends mozile.rng.Node

Defined in rng.js


Constructor Summary
mozile.rng.Optional ()
            Represents an RNG "optional" element.
 
Method Summary
 Boolean mustHave(<String|Element> type, <String> name)
           True if the type is "optional".
 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, generateKey, mustContain, mayContain, mayHave, reset, resetAll, selfValidate, selfValidateAll
 

Constructor Detail

mozile.rng.Optional

mozile.rng.Optional()

Method Detail

mustHave

Boolean mustHave(<String|Element> type, <String> name)

validate

mozile.rng.Validation validate(<Node> node, <mozile.rng.Validation> validation)


Documentation generated by JSDoc on Wed Feb 20 13:25:28 2008