TAGParser Class Reference

List of all members.


Detailed Description

The tag parser parses tagging information.

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.

Constructor & Destructor Documentation

TAGParser ( DSPortAdapter  adapter  ) 

Construct the tag parser.

Parameters:
adapter What port adapter will serve the devices created.


Member Function Documentation

Vector parse ( InputStream  in  )  throws SAXException, IOException

Returns the vector of TaggedDevice objects described in the TAG file.

Parameters:
in The XML document to parse.
Returns:
Vector of TaggedDevice objects.
Exceptions:
SAXException If a parse error occurs parsing in.
IOException If an I/O error occurs while reading in.

Vector getBranches (  ) 

Returns the vector of Branch TaggedDevice objects described in the TAG file.

The XML should already be parsed before calling this method.

Parameters:
in The XML document to parse.
Returns:
Vector of Branch TaggedDevice objects.

Vector getOWPaths (  ) 

Returns the vector of OWPath objects discovered through parsing the XML file.

The XML file should already be parsed before calling this method.

Parameters:
no parameters.
Returns:
Vector of OWPath objects.


The documentation for this class was generated from the following file:

Generated on Thu Aug 28 15:42:32 2008 for 1-Wire API for .NET by  doxygen 1.5.6