home *** CD-ROM | disk | FTP | other *** search
- package com.ibm.xml.parser;
-
- import org.w3c.dom.Document;
- import org.w3c.dom.Entity;
- import org.w3c.dom.NamedNodeMap;
- import org.w3c.dom.Node;
- import org.w3c.dom.NodeList;
-
- class EntityDecl$EntityImpl implements Entity {
- EntityDecl decl;
-
- EntityDecl$EntityImpl(EntityDecl var1) {
- this.decl = var1;
- }
-
- public Node getParentNode() {
- return null;
- }
-
- public String getPublicId() {
- return this.decl.getPublicId();
- }
-
- public String getSystemId() {
- return this.decl.getSystemId();
- }
-
- public String getNotationName() {
- return this.decl.getNotationName();
- }
-
- public String getNodeName() {
- return this.decl.getNodeName();
- }
-
- public String getNodeValue() {
- return null;
- }
-
- public void setNodeValue(String var1) {
- throw new TXDOMException((short)7, "This Entity is read-only.");
- }
-
- public short getNodeType() {
- return 6;
- }
-
- public NodeList getChildNodes() {
- return this.decl.getChildNodes();
- }
-
- public Node getFirstChild() {
- return this.decl.getFirstChild();
- }
-
- public Node getLastChild() {
- return this.decl.getLastChild();
- }
-
- public Node getPreviousSibling() {
- return this.decl.getPreviousSibling();
- }
-
- public Node getNextSibling() {
- return this.decl.getNextSibling();
- }
-
- public NamedNodeMap getAttributes() {
- return null;
- }
-
- public Document getOwnerDocument() {
- return this.decl.getOwnerDocument();
- }
-
- public Node insertBefore(Node var1, Node var2) {
- throw new TXDOMException((short)7, "This Entity is read-only.");
- }
-
- public Node replaceChild(Node var1, Node var2) {
- throw new TXDOMException((short)7, "This Entity is read-only.");
- }
-
- public Node removeChild(Node var1) {
- throw new TXDOMException((short)7, "This Entity is read-only.");
- }
-
- public Node appendChild(Node var1) {
- throw new TXDOMException((short)7, "This Entity is read-only.");
- }
-
- public boolean hasChildNodes() {
- return this.decl.hasChildNodes();
- }
-
- public Node cloneNode(boolean var1) {
- return ((EntityDecl)this.decl.cloneNode(var1)).getEntityImpl();
- }
- }
-