java.lang.Object | +--com.dalsemi.onewire.application.tag.TAGParser
The tag parser parses tagging information.
| Constructor Summary | |
TAGParser(DSPortAdapter adapter)
Construct the tag parser. |
|
| Method Summary | |
Vector |
getBranches()
Returns the vector of Branch TaggedDevice objects described in the TAG file. |
Vector |
getOWPaths()
Returns the vector of OWPath objects discovered through parsing the XML file. |
Vector |
parse(InputStream in)
Returns the vector of TaggedDevice objects described in the TAG file. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TAGParser(DSPortAdapter adapter)
adapter - What port adapter will serve the devices created.| Method Detail |
public Vector parse(InputStream in)
throws org.xml.sax.SAXException,
IOException
in - The XML document to parse.org.xml.sax.SAXException - If a parse error occurs parsing in.IOException - If an I/O error occurs while reading in.public Vector getBranches()
in - The XML document to parse.public Vector getOWPaths()
no - parameters.