public class TAGParser
extends java.lang.Object
Constructor and Description |
---|
TAGParser(DSPortAdapter adapter)
Construct the tag parser.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getBranches()
Returns the vector of Branch TaggedDevice objects described in the TAG file.
|
java.util.Vector |
getOWPaths()
Returns the vector of OWPath objects discovered through parsing
the XML file.
|
java.util.Vector |
parse(java.io.InputStream in)
Returns the vector of TaggedDevice objects described in the TAG file.
|
public TAGParser(DSPortAdapter adapter)
adapter
- What port adapter will serve the devices created.public java.util.Vector parse(java.io.InputStream in) throws org.xml.sax.SAXException, java.io.IOException
in
- The XML document to parse.org.xml.sax.SAXException
- If a parse error occurs parsing in.java.io.IOException
- If an I/O error occurs while reading in.public java.util.Vector getBranches()
in
- The XML document to parse.public java.util.Vector getOWPaths()
no
- parameters.Copyright © 1999-2012 Maxim Integrated Products. All Rights Reserved.