|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xmlmatcher.Main
public class Main
Matcher facade. Assembles matchers and listeners in default configuration.
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Match two files specified by command line arguments |
static Matcher |
makeDefaultMatcher()
|
static void |
match(org.w3c.dom.Element template,
org.w3c.dom.Element actual)
Match two given elements using default matcher configuration |
static void |
match(java.io.File template,
java.io.File actual)
Match two given files using default matcher configuration |
static void |
match(org.xml.sax.InputSource template,
org.xml.sax.InputSource actual)
Match two given input sources using default matcher configuration |
static void |
match(java.io.InputStream template,
java.io.InputStream actual)
Match two given input streams using default matcher configuration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main()
Method Detail |
---|
public static Matcher makeDefaultMatcher()
public static void match(java.io.File template, java.io.File actual) throws java.io.IOException, MatcherException
template
- File with template documentactual
- File with actual document
java.io.IOException
- if files cannot be read
MatcherException
- if files mismatchpublic static void match(java.io.InputStream template, java.io.InputStream actual) throws java.io.IOException, MatcherException
template
- Template document input streamactual
- Actual document input stream
java.io.IOException
- if input stream cannot be read
MatcherException
- if documents mismatchpublic static void match(org.xml.sax.InputSource template, org.xml.sax.InputSource actual) throws java.io.IOException, MatcherException
template
- Template document input sourceactual
- Actual document input source
java.io.IOException
- if input sources cannot be read
MatcherException
- if documents mismatchpublic static void match(org.w3c.dom.Element template, org.w3c.dom.Element actual) throws MatcherException
template
- Template elementactual
- Actual element
MatcherException
- if elements mismatchpublic static void main(java.lang.String[] args) throws java.io.IOException, MatcherException
java.io.IOException
MatcherException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |