Class mozile.rng.Attribute

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

class mozile.rng.Attribute
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 name of the element.
 String getPrefix
          Gets the prefix part of the qualified name of the element.
 
Constructor Summary
mozile.rng.Attribute ()
            Represents an RNG "attribute" element.
 
Method Summary
 String getNamespace()
           Gets the namespace for the element.
 Boolean mayHave(<String|Element> type, <String> name)
           True if this is an attribute.
 Boolean mustHave(<String|Element> type, <String> name)
           True if this is an attribute.
 mozile.rng.Validation selfValidate(validation)
           Validates this RNG object.
 mozile.rng.Validation validate(<Node> node, <mozile.rng.Validation> validation)
           Checks the node's parent for this attribute, and validates the attribute's value.
 
Methods inherited from class mozile.rng.Node
toString, getType, getSchema, getGrammar, getParentNode, getParentElement, getNextSibling, getChildNodes, getChildNode, appendChild, removeChild, getDescendants, generateKey, mustContain, mayContain, reset, resetAll, selfValidateAll
 

Field Detail

getLocalName

String getLocalName

getName

String getName

getPrefix

String getPrefix

Constructor Detail

mozile.rng.Attribute

mozile.rng.Attribute()

Method Detail

getNamespace

String getNamespace()

mayHave

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

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