|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.xmlmatcher.matcher.MatcherImpl
net.sf.xmlmatcher.matcher.TagNamesMatcher
public class TagNamesMatcher
Very simple matcher that compares that template and actual elements have exactly the same namespaces and tag names
| Field Summary |
|---|
| Fields inherited from interface net.sf.xmlmatcher.Matcher |
|---|
XML_NAMESPACE_URI |
| Constructor Summary | |
|---|---|
TagNamesMatcher()
|
|
| Method Summary | |
|---|---|
void |
matchElements(org.w3c.dom.Element template,
org.w3c.dom.Element actual)
Match two XML trees specified by given elements. |
| Methods inherited from class net.sf.xmlmatcher.matcher.MatcherImpl |
|---|
addListener, getTopLevelMatcher, match, removeListener, setTopLevelMatcher |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TagNamesMatcher()
| Method Detail |
|---|
public void matchElements(org.w3c.dom.Element template,
org.w3c.dom.Element actual)
throws XMLMismatchException,
InvalidTemplateException
matchElements in class MatcherImpltemplate - Template Elementactual - Actual Element (instance)
XMLMismatchException
InvalidTemplateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||