diff --git a/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/XmlNodeWrapper.java b/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/XmlNodeWrapper.java index a3fd69ad25..a8cb7c4fda 100644 --- a/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/XmlNodeWrapper.java +++ b/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/XmlNodeWrapper.java @@ -89,6 +89,10 @@ public class XmlNodeWrapper extends AbstractDomNodeProxy implements XmlNode { return parser.wrapDomNode(node.getChildNodes().item(index)); } + @Override + public Node getChild(int index) { + return jjtGetChild(index); + } @Override public int jjtGetNumChildren() { @@ -96,6 +100,11 @@ public class XmlNodeWrapper extends AbstractDomNodeProxy implements XmlNode { } + @Override + public int getNumChildren() { + return jjtGetNumChildren(); + } + @Override public int jjtGetId() { return 0;