I've included this in Level 1 purely as an anchor point for default attributes. In Level 2 it should enable the ChildRule support.
| Modifier and Type | Field and Description |
|---|---|
| protected NamedNodeMapImpl | attributes
Default attributes. |
| protected String | name
Element definition name. |
| pack-priv static final long | serialVersionUID
Serialization version.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Node | cloneNode(boolean
If deep)true, recursively clone the subtree under
the specified node; if false, clone only the node
itself (and its attributes, if it is an Element).Overrides org. Implements org. |
| public NamedNodeMap | Returns: org.w3c.dom.NamedNodeMap containing org.w3c.dom.AttributeOverrides org. Implements org. |
| public String | getNodeName()
Implements abstract org. Implements org. |
| public short | getNodeType()
Implements abstract org. Implements org. |
| attributes | back to summary |
|---|---|
| protected NamedNodeMapImpl attributes Default attributes. | |
| name | back to summary |
|---|---|
| protected String name Element definition name. | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides org. Serialization version. | |
| ElementDefinitionImpl | back to summary |
|---|---|
| public ElementDefinitionImpl(CoreDocumentImpl ownerDocument, String name) Factory constructor. | |
| cloneNode | back to summary |
|---|---|
| public Node cloneNode(boolean deep) Overrides org. Implements org. Replicate this object.
| |
| getAttributes | back to summary |
|---|---|
| public NamedNodeMap getAttributes() Overrides org. Implements org. Query the attributes defined on this Element. In the base implementation this Map simply contains Attribute objects representing the defaults. In a more serious implementation, it would contain AttributeDefinitionImpl objects for all declared Attributes, indicating which are Default, DefaultFixed, Implicit and/or Required.
| |
| getNodeName | back to summary |
|---|---|
| public String getNodeName() Implements abstract org. Implements org. Returns the element definition name | |
| getNodeType | back to summary |
|---|---|
| public short getNodeType() Implements abstract org. Implements org. A short integer indicating what type of node this is. The named constants for this value are defined in the org.w3c.dom.Node interface. | |