org.apache.xerces.dom
public class ElementDefinitionImpl extends ParentNode
I've included this in Level 1 purely as an anchor point for default attributes. In Level 2 it should enable the ChildRule support.
Version: $Id: ElementDefinitionImpl.java,v 1.14 2004/10/05 17:12:50 mrglavas Exp $
Field Summary | |
---|---|
protected NamedNodeMapImpl | attributes Default attributes. |
protected String | name Element definition name. |
Constructor Summary | |
---|---|
ElementDefinitionImpl(CoreDocumentImpl ownerDocument, String name) Factory constructor. |
Method Summary | |
---|---|
Node | cloneNode(boolean deep)
Replicate this object. |
NamedNodeMap | getAttributes()
Query the attributes defined on this Element.
|
String | getNodeName()
Returns the element definition name |
short | getNodeType()
A short integer indicating what type of node this is. |
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.
Returns: org.w3c.dom.NamedNodeMap containing org.w3c.dom.Attribute