home *** CD-ROM | disk | FTP | other *** search
- package com.ibm.xml.dom;
-
- import org.w3c.dom.NamedNodeMap;
- import org.w3c.dom.Node;
-
- public class ElementDefinitionImpl extends NodeImpl {
- static final long serialVersionUID = -8373890672670022714L;
- protected NamedNodeMapImpl attributes;
-
- public ElementDefinitionImpl(DocumentImpl var1, String var2) {
- super(var1, var2, (String)null);
- this.attributes = new NamedNodeMapImpl(var1, (NamedNodeMapImpl)null);
- }
-
- public short getNodeType() {
- return -1;
- }
-
- public Node cloneNode(boolean var1) {
- ElementDefinitionImpl var2 = (ElementDefinitionImpl)super.cloneNode(var1);
- var2.attributes = this.attributes.cloneMap();
- return var2;
- }
-
- public NamedNodeMap getAttributes() {
- if (super.syncChildren) {
- ((NodeImpl)this).synchronizeChildren();
- }
-
- return this.attributes;
- }
- }
-