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
Hides com. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Node | cloneNode(boolean deep)
Overrides com. Implements org. Replicate this object. |
| public NamedNodeMap | Returns: org.w3c.dom.NamedNodeMap containing org.w3c.dom.AttributeOverrides com. Implements org. Query the attributes defined on this Element. |
| public String | getNodeName()
Implements abstract com. Implements org. Returns the element definition name |
| public short | getNodeType()
Implements abstract com. Implements org. A short integer indicating what type of node this is. |
| 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 com. Serialization version. | |
| ElementDefinitionImpl | back to summary |
|---|---|
| public ElementDefinitionImpl(CoreDocumentImpl ownerDocument, String name) Factory constructor. | |
| cloneNode | back to summary |
|---|---|
| public Node cloneNode(boolean deep) Overrides com. Implements org. Replicate this object. | |
| getAttributes | back to summary |
|---|---|
| public NamedNodeMap getAttributes() Overrides com. 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 com. Implements org. Returns the element definition name | |
| getNodeType | back to summary |
|---|---|
| public short getNodeType() Implements abstract com. 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. | |