Package | dom.validation |
Interface | public interface ElementEditVAL extends NodeEditVAL |
Introduced in: | DOM 3 Validation |
To expose wildcards, the NameList returns the values that represent the namespace constraint:
{namespaceURI, name}
is {null, ##any}
if any;{namespaceURI, name}
is {namespace_a, ##other}
if not and a namespace name (namespace_a);{namespaceURI, name}
is {null, ##other}
if not and absent;{namespaceURI, name}
with values {a_namespaceURI | null, null}
if a set whose members are either namespace names or absent.An object implementing this interface must also implement the Element interface.
See also
Property | Defined By | ||
---|---|---|---|
DOM 3 Validation allowedAttributes : NameList [read-only]
A NameList, as described in [DOM Level 3 Core], of all possible attribute information items or wildcards that can appear as attributes
of this element, or null if this element has no context or schema. | ElementEditVAL | ||
DOM 3 Validation allowedChildren : NameList [read-only]
A NameList, as described in [DOM Level 3 Core], of all possible element information items or wildcards that can appear as children
of this element, or null if this element has no context or schema. | ElementEditVAL | ||
DOM 3 Validation allowedFirstChildren : NameList [read-only]
A NameList, as described in [DOM Level 3 Core], of all possible element information items or wildcards that can appear as a first
child of this element, or null if this element has no context or schema. | ElementEditVAL | ||
DOM 3 Validation allowedNextSiblings : NameList [read-only]
A NameList, as described in [DOM Level 3 Core], of all element information items or wildcards that can be inserted as a next
sibling of this element, or null if this element has no context or schema. | ElementEditVAL | ||
DOM 3 Validation allowedParents : NameList [read-only]
A NameList, as described in [DOM Level 3 Core], of all possible element information items that can appear as a parent this
element, or null if this element has no context or schema. | ElementEditVAL | ||
DOM 3 Validation allowedPreviousSiblings : NameList [read-only]
A NameList, as described in [DOM Level 3 Core], of all element information items or wildcards that can be inserted as a previous
sibling of this element, or null if this element has no context or schema. | ElementEditVAL | ||
DOM 3 Validation contentType : Number [read-only]
The content type of an element as defined above. | ElementEditVAL | ||
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 | ||
DOM 3 Validation requiredAttributes : NameList [read-only]
A NameList, as described in [DOM Level 3 Core], of required attribute information items that must appear on this element, or null
if this element has no context or schema. | ElementEditVAL |
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 | ||
Verifies if an attribute by the given name can be removed. | ElementEditVAL | ||
Determines if an attribute node can be removed. | ElementEditVAL | ||
Verifies if an attribute by the given local name and namespace can be removed. | ElementEditVAL | ||
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 | ||
Determines if the value for specified attribute can be set. | ElementEditVAL | ||
Determines if an attribute node can be added. | ElementEditVAL | ||
DOM 3 Validation canSetAttributeNS(namespaceURI:DOMString, qualifiedName:DOMString, value:DOMString):Number
Determines if the attribute with given namespace and qualified name can be created if not already present in the attribute list
of the element. | ElementEditVAL | ||
Determines if the text content of this node and its descendants can be set to the string passed in. | ElementEditVAL | ||
Determines if name is defined in the schema. | ElementEditVAL | ||
Determines if name in this namespace is defined in the current context. | ElementEditVAL | ||
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 allowedAttributes | property |
allowedAttributes:NameList
[read-only] Introduced in: | DOM 3 Validation |
A NameList, as described in [DOM Level 3 Core], of all possible attribute information items or wildcards that can appear as attributes of this element, or null if this element has no context or schema. Duplicate pairs of {namespaceURI, name} are eliminated.
public function get allowedAttributes():NameList
See also
DOM 3 Validation allowedChildren | property |
allowedChildren:NameList
[read-only] Introduced in: | DOM 3 Validation |
A NameList, as described in [DOM Level 3 Core], of all possible element information items or wildcards that can appear as children of this element, or null if this element has no context or schema. Duplicate pairs of {namespaceURI, name} are eliminated.
public function get allowedChildren():NameList
See also
DOM 3 Validation allowedFirstChildren | property |
allowedFirstChildren:NameList
[read-only] Introduced in: | DOM 3 Validation |
A NameList, as described in [DOM Level 3 Core], of all possible element information items or wildcards that can appear as a first child of this element, or null if this element has no context or schema. Duplicate pairs of {namespaceURI, name} are eliminated.
public function get allowedFirstChildren():NameList
See also
DOM 3 Validation allowedNextSiblings | property |
allowedNextSiblings:NameList
[read-only] Introduced in: | DOM 3 Validation |
A NameList, as described in [DOM Level 3 Core], of all element information items or wildcards that can be inserted as a next sibling of this element, or null if this element has no context or schema. Duplicate pairs of {namespaceURI, name} are eliminated.
public function get allowedNextSiblings():NameList
See also
DOM 3 Validation allowedParents | property |
allowedParents:NameList
[read-only] Introduced in: | DOM 3 Validation |
A NameList, as described in [DOM Level 3 Core], of all possible element information items that can appear as a parent this element, or null if this element has no context or schema.
public function get allowedParents():NameList
See also
DOM 3 Validation allowedPreviousSiblings | property |
allowedPreviousSiblings:NameList
[read-only] Introduced in: | DOM 3 Validation |
A NameList, as described in [DOM Level 3 Core], of all element information items or wildcards that can be inserted as a previous sibling of this element, or null if this element has no context or schema.
public function get allowedPreviousSiblings():NameList
See also
DOM 3 Validation contentType | property |
contentType:Number
[read-only] Introduced in: | DOM 3 Validation |
The content type of an element as defined above.
public function get contentType():Number
See also
DOM 3 Validation requiredAttributes | property |
requiredAttributes:NameList
[read-only] Introduced in: | DOM 3 Validation |
A NameList, as described in [DOM Level 3 Core], of required attribute information items that must appear on this element, or null if this element has no context or schema.
public function get requiredAttributes():NameList
See also
DOM 3 Validation canRemoveAttribute | () | method |
public function canRemoveAttribute(attrname:DOMString):Number
Introduced in: | DOM 3 Validation |
Verifies if an attribute by the given name can be removed.
Parameters
attrname:DOMString — Name of attribute.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canRemoveAttributeNode | () | method |
public function canRemoveAttributeNode(attrNode:Node):Number
Introduced in: | DOM 3 Validation |
Determines if an attribute node can be removed.
Parameters
attrNode:Node — The Attr node to remove from the attribute list.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canRemoveAttributeNS | () | method |
public function canRemoveAttributeNS(namespaceURI:DOMString, localName:DOMString):Number
Introduced in: | DOM 3 Validation |
Verifies if an attribute by the given local name and namespace can be removed.
Parameters
namespaceURI:DOMString — The namespace URI of the attribute to remove.
| |
localName:DOMString — Local name of the attribute to be removed.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canSetAttribute | () | method |
public function canSetAttribute(attrname:DOMString, attrval:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if the value for specified attribute can be set.
Parameters
attrname:DOMString — Name of attribute.
| |
attrval:DOMString — Value to be assigned to the attribute.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canSetAttributeNode | () | method |
public function canSetAttributeNode(attrNode:Attr):Number
Introduced in: | DOM 3 Validation |
Determines if an attribute node can be added.
Parameters
attrNode:Attr — Node in which the attribute can possibly be set.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canSetAttributeNS | () | method |
public function canSetAttributeNS(namespaceURI:DOMString, qualifiedName:DOMString, value:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if the attribute with given namespace and qualified name can be created if not already present in the attribute list of the element. If the attribute with the same qualified name and namespaceURI is already present in the element's attribute list, it tests whether the value of the attribute and its prefix can be set to the new value.
Parameters
namespaceURI:DOMString — namespaceURI of namespace.
| |
qualifiedName:DOMString — Qualified name of attribute.
| |
value:DOMString — Value to be assigned to the attribute.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canSetTextContent | () | method |
public function canSetTextContent(possibleTextContent:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if the text content of this node and its descendants can be set to the string passed in.
Parameters
possibleTextContent:DOMString — Possible text content string.
|
Number — A validation state constant.
|
See also
DOM 3 Validation isElementDefined | () | method |
public function isElementDefined(name:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if name is defined in the schema. This only applies to global declarations. This method is for non-namespace aware schemas.
Parameters
name:DOMString — Name of element.
|
Number — A validation state constant.
|
See also
DOM 3 Validation isElementDefinedNS | () | method |
public function isElementDefinedNS(namespaceURI:DOMString, name:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if name in this namespace is defined in the current context. Thus not only does this apply to global declarations, but depending on the content, this may also apply to local definitions. This method is for namespace aware schemas.
Parameters
namespaceURI:DOMString — namespaceURI of namespace.
| |
name:DOMString — Name of element.
|
Number — A validation state constant.
|
See also