Class mozile.rng.Element

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

class mozile.rng.Element
extends mozile.rng.Node

Defined in rng.js


Field Summary
 String getLocalName
          Gets the local part of the qualified name of the element.
 String getName
          Gets the full name of the element.
 String getPrefix
          Gets the prefix part of the qualified name of the element.
 
Constructor Summary
mozile.rng.Element ()
            Represents an RNG "element" element.
 
Method Summary
 String getNamespace()
           Gets the namespace for the element.
 Boolean mayHave(<String|Element> type, <String> name)
           True if this is an element.
 Boolean mustHave(<String|Element> type, <String> name)
           True if this is an element.
 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, reset, resetAll, selfValidate, selfValidateAll
 

Field Detail

getLocalName

String getLocalName

getName

String getName

getPrefix

String getPrefix

Constructor Detail

mozile.rng.Element

mozile.rng.Element()

Method Detail

getNamespace

String getNamespace()

mayHave

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

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