|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.util.xml.XmlReader
org.progeeks.util.xml.XmlSignatureReader
public class XmlSignatureReader
Reads the first parts of an XML file to pull out tag signatures. This can be used for identifying different types of XML files.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.progeeks.util.xml.XmlReader |
|---|
XmlReader.XmlHandler |
| Constructor Summary | |
|---|---|
XmlSignatureReader()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getSignature(int depth,
java.lang.String separator,
java.io.Reader in)
Reads in some depth of the XML to build a type signature in the form of tag + separator + tag depending on the specified nesting level. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class org.progeeks.util.xml.XmlReader |
|---|
addTagText, createXmlException, createXmlException, endTag, getAttributesAsMap, getCurrentObject, getDocumentLocator, getIgnoreTagCase, getLocation, getPreviousObject, getRootObject, getStackSize, getTagReader, readObject, readXml, readXml, readXml, registerHandler, replaceCurrentObject, reset, resolveEntity, setDefaultHandler, setIgnoreTagCase, startTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlSignatureReader()
| Method Detail |
|---|
public java.lang.String getSignature(int depth,
java.lang.String separator,
java.io.Reader in)
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||