@Test public void getElementName() { AstNode astNode = mock(AstNode.class); when(astNode.getName()).thenReturn("foo"); assertThat(navigator.getElementName(astNode)).isEqualTo("foo"); }
@Override public String getElementName(Object astNodeObject) { AstNode astNode = (AstNode) astNodeObject; return astNode.getName(); }
AstNodeNavigator extends DefaultNavigator { @Override public String getElementName(Object astNodeObject) { AstNode astNode = (AstNode) astNodeObject; return astNode.getName(); } }
AstNodeNavigator extends DefaultNavigator { @Override public String getElementName(Object astNodeObject) { AstNode astNode = (AstNode) astNodeObject; return astNode.getName(); }  }
AstNodeNavigator extends DefaultNavigator { @Override public String getElementName(Object astNodeObject) { AstNode astNode = (AstNode) astNodeObject; return astNode.getName(); }  void reset(); @Override String getTextStringValue(Object arg0); @Override String getCommentStringValue(Object arg0); @Override String getAttributeStringValue(Object attributeObject); @Override String getElementStringValue(Object arg0); @Override String getNamespacePrefix(Object arg0); @Override String getNamespaceStringValue(Object arg0); @Override String getAttributeName(Object attributeObject); @Override String getAttributeQName(Object attributeObject); @Override String getAttributeNamespaceUri(Object arg0); @Override String getElementName(Object astNodeObject); @Override String getElementQName(Object astNodeObject); @Override String getElementNamespaceUri(Object astNodeObject); @Override boolean isAttribute(Object object); @Override boolean isComment(Object object); @Override boolean isDocument(Object contextObject); @Override boolean isElement(Object object); @Override boolean isNamespace(Object arg0); @Override boolean isProcessingInstruction(Object arg0); @Override boolean isText(Object arg0); @Override Object getDocumentNode(Object contextNode); @Override Iterator getChildAxisIterator(Object contextNode); @Override Object getParentNode(Object contextNode); @SuppressWarnings("unchecked") @Override Iterator getParentAxisIterator(Object contextNode); @Override Iterator getAttributeAxisIterator(Object contextNode); @Override XPath parseXPath(String arg0); }
AstNodeNavigator extends DefaultNavigator { @Override public String getElementName(Object astNodeObject) { AstNode astNode = (AstNode) astNodeObject; return astNode.getName(); }  void reset(); @Override String getTextStringValue(Object arg0); @Override String getCommentStringValue(Object arg0); @Override String getAttributeStringValue(Object attributeObject); @Override String getElementStringValue(Object arg0); @Override String getNamespacePrefix(Object arg0); @Override String getNamespaceStringValue(Object arg0); @Override String getAttributeName(Object attributeObject); @Override String getAttributeQName(Object attributeObject); @Override String getAttributeNamespaceUri(Object arg0); @Override String getElementName(Object astNodeObject); @Override String getElementQName(Object astNodeObject); @Override String getElementNamespaceUri(Object astNodeObject); @Override boolean isAttribute(Object object); @Override boolean isComment(Object object); @Override boolean isDocument(Object contextObject); @Override boolean isElement(Object object); @Override boolean isNamespace(Object arg0); @Override boolean isProcessingInstruction(Object arg0); @Override boolean isText(Object arg0); @Override Object getDocumentNode(Object contextNode); @Override Iterator getChildAxisIterator(Object contextNode); @Override Object getParentNode(Object contextNode); @SuppressWarnings("unchecked") @Override Iterator getParentAxisIterator(Object contextNode); @Override Iterator getAttributeAxisIterator(Object contextNode); @Override XPath parseXPath(String arg0);  }