org.milyn.profile
Class DefaultProfileConfigDigester
java.lang.Object
org.milyn.profile.DefaultProfileConfigDigester
- All Implemented Interfaces:
- ProfileConfigDigester
public class DefaultProfileConfigDigester
- extends Object
- implements ProfileConfigDigester
Default device profile XML configuration digester.
The profile
configuration is supplied in a well defined XML format. This XML format is
defined in device-profile-1.0.dtd
and a sample XML is defined in device-profile-sample.xml.
Uses XPath to parse the XML and construct the ProfileStore instance.
- Author:
- tfennelly
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProfileConfigDigester
public DefaultProfileConfigDigester()
parse
public ProfileStore parse(InputStream input)
throws SAXException,
IOException
- Parse the device profile configuration stream.
- Specified by:
parse in interface ProfileConfigDigester
- Parameters:
input - The input stream instance.
- Returns:
- ProfileStore instance.
- Throws:
SAXException
IOException
Copyright © 2018. All rights reserved.