Overview | Package | Class | Tree | Deprecated | Index | Help
| Milyn-Tinak Version 0.6.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.milyn.device.profile
Class DefaultProfileConfigDigester

    java.lang.Object
      org.milyn.device.profile.DefaultProfileConfigDigester

All Implemented Interfaces:
  ProfileConfigDigester

public class DefaultProfileConfigDigester
extends java.lang.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

Constructor Summary
`DefaultProfileConfigDigester()`

Method Summary
`ProfileStore` | `parse(java.io.InputStream input)` Parse the device profile configuration stream.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultProfileConfigDigester

    public DefaultProfileConfigDigester()

Method Detail

### parse

    public ProfileStore parse(java.io.InputStream input)
                       throws org.xml.sax.SAXException,
                              java.io.IOException

  Parse the device profile configuration stream.

  Specified by:
    `parse` in interface `ProfileConfigDigester`
  Parameters:
    `input` - The input stream instance.
  Returns:
    ProfileStore instance.
  Throws:
    `org.xml.sax.SAXException`
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Milyn-Tinak Version 0.6.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD