Milyn-Tinak Version 0.6.1

org.milyn.device.ident
Class IdentConfigDigester

java.lang.Object
  extended byorg.milyn.device.ident.IdentConfigDigester

public class IdentConfigDigester
extends java.lang.Object

Device Ident configuration XML digester.

Uses XPath to parse the XML and construct the DeviceIdent instance.

Author:
tfennelly

Constructor Summary
IdentConfigDigester()
           
 
Method Summary
 DeviceIdent parse(java.io.InputStream input)
          Parse the device identification XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentConfigDigester

public IdentConfigDigester()
Method Detail

parse

public DeviceIdent parse(java.io.InputStream input)
                  throws org.xml.sax.SAXException,
                         java.io.IOException
Parse the device identification XML.

Parameters:
input - Input stream containing the XML data to be parsed
Returns:
The DeviceIdent
Throws:
org.xml.sax.SAXException - if a parsing exception occurs
java.io.IOException - if an input/output error occurs

Milyn-Tinak Version 0.6.1