Package | dom.validation |
Interface | public interface NodeEditVAL |
Introduced in: | DOM 3 Validation |
See also
Property | Defined By | ||
---|---|---|---|
DOM 3 Validation defaultValue : DOMString [read-only]
The default value specified in an attribute or an element declaration or null if unspecified. | NodeEditVAL | ||
DOM 3 Validation enumeratedValues : DOMStringList [read-only]
A DOMStringList, as described in DOM Level 3 Core, of distinct values for an attribute or an element declaration or
null if unspecified. | NodeEditVAL |
Method | Defined By | ||
---|---|---|---|
Determines whether the Node.appendChild operation would make this document not compliant with the VAL_INCOMPLETE validity type. | NodeEditVAL | ||
Determines whether the Node.insertBefore operation would make this document not compliant with the VAL_INCOMPLETE validity type. | NodeEditVAL | ||
Determines whether the Node.removeChild operation would make this document not compliant with the VAL_INCOMPLETE validity type. | NodeEditVAL | ||
Determines whether the Node.replaceChild operation would make this document not compliant with the VAL_INCOMPLETE validity type. | NodeEditVAL | ||
DOM 3 Validation nodeValidity(valType:Number):Number
Determines if the node is valid relative to the validation type specified in valType. | NodeEditVAL |
DOM 3 Validation defaultValue | property |
defaultValue:DOMString
[read-only] Introduced in: | DOM 3 Validation |
The default value specified in an attribute or an element declaration or null if unspecified. If the schema is a W3C XML schema, this is the canonical lexical representation of the default value.
public function get defaultValue():DOMString
See also
DOM 3 Validation enumeratedValues | property |
enumeratedValues:DOMStringList
[read-only] Introduced in: | DOM 3 Validation |
A DOMStringList, as described in DOM Level 3 Core, of distinct values for an attribute or an element declaration or null if unspecified. If the schema is a W3C XML schema, this is a list of strings which are lexical representations corresponding to the values in the [value] property of the enumeration component for the type of the attribute or element. It is recommended that the canonical lexical representations of the values be used.
public function get enumeratedValues():DOMStringList
See also
DOM 3 Validation canAppendChild | () | method |
public function canAppendChild(newChild:Node):Number
Introduced in: | DOM 3 Validation |
Determines whether the Node.appendChild operation would make this document not compliant with the VAL_INCOMPLETE validity type.
Parameters
newChild:Node — Node to be appended.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canInsertBefore | () | method |
public function canInsertBefore(newChild:Node, refChild:Node):Number
Introduced in: | DOM 3 Validation |
Determines whether the Node.insertBefore operation would make this document not compliant with the VAL_INCOMPLETE validity type.
Parameters
newChild:Node — Node to be inserted.
| |
refChild:Node — Reference Node.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canRemoveChild | () | method |
public function canRemoveChild(oldChild:Node):Number
Introduced in: | DOM 3 Validation |
Determines whether the Node.removeChild operation would make this document not compliant with the VAL_INCOMPLETE validity type.
Parameters
oldChild:Node — Node to be removed.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canReplaceChild | () | method |
public function canReplaceChild(newChild:Node, oldChild:Node):Number
Introduced in: | DOM 3 Validation |
Determines whether the Node.replaceChild operation would make this document not compliant with the VAL_INCOMPLETE validity type.
Parameters
newChild:Node — New Node.
| |
oldChild:Node — Node to be replaced.
|
Number — A validation state constant.
|
See also
DOM 3 Validation nodeValidity | () | method |
public function nodeValidity(valType:Number):Number
Introduced in: | DOM 3 Validation |
Determines if the node is valid relative to the validation type specified in valType. This operation doesn't normalize before checking if it is valid. To do so, one would need to explicitly call a normalize method. The difference between this method and the DocumentEditVAL.validateDocument method is that the latter method only checks to determine whether the entire document is valid.
Parameters
valType:Number — Flag to indicate the validation type checking to be done.
|
Number — A validation state constant.
|
See also