|
1-Wire API for .NET Version 4.00
|
The tag parser parses tagging information. More...
Public Member Functions | |
| TAGParser (DSPortAdapter adapter) | |
| Construct the tag parser. | |
| Vector | parse (InputStream in) throws SAXException, IOException |
| Returns the vector of TaggedDevice objects described in the TAG file. | |
| 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. | |
The tag parser parses tagging information.
| TAGParser | ( | DSPortAdapter | adapter | ) |
Construct the tag parser.
| adapter | What port adapter will serve the devices created. |
| Vector getBranches | ( | ) |
Returns the vector of Branch TaggedDevice objects described in the TAG file.
The XML should already be parsed before calling this method.
| in | The XML document to parse. |
| Vector getOWPaths | ( | ) |
| Vector parse | ( | InputStream | in | ) | throws SAXException, IOException |
Returns the vector of TaggedDevice objects described in the TAG file.
| in | The XML document to parse. |
| SAXException | If a parse error occurs parsing in. |
| IOException | If an I/O error occurs while reading in. |
1.7.3