Class mozile.rng.Choice

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

class mozile.rng.Choice
extends mozile.rng.Node

Defined in rng.js


Constructor Summary
mozile.rng.Choice ()
            Represents an RNG "choice" element.
 
Method Summary
 Boolean mustHave(<String|Element> type, <String> name)
           True if the type is "choice" or if all children mustHave the given type.
 mozile.rng.Validation selfValidate(validation)
           Validates this RNG object.
 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, selfValidateAll
 

Constructor Detail

mozile.rng.Choice

mozile.rng.Choice()

Method Detail

mustHave

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

selfValidate

mozile.rng.Validation selfValidate(validation)

validate

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


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