org.teleal.cling.transport.impl
Class GENAEventProcessorImpl
java.lang.Object
org.teleal.cling.transport.impl.GENAEventProcessorImpl
- All Implemented Interfaces:
- GENAEventProcessor
public class GENAEventProcessorImpl
- extends Object
- implements GENAEventProcessor
Default implementation based on the W3C DOM XML processing API.
- Author:
- Christian Bauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GENAEventProcessorImpl
public GENAEventProcessorImpl()
writeBody
public void writeBody(OutgoingEventRequestMessage requestMessage)
throws UnsupportedDataException
- Description copied from interface:
GENAEventProcessor
- Transforms a collection of
StateVariableValues into an XML message body.
- Specified by:
writeBody in interface GENAEventProcessor
- Parameters:
requestMessage - The message to transform.
- Throws:
UnsupportedDataException
readBody
public void readBody(IncomingEventRequestMessage requestMessage)
throws UnsupportedDataException
- Description copied from interface:
GENAEventProcessor
- Transforms an XML message body and adds to a collection of
StateVariableValues..
- Specified by:
readBody in interface GENAEventProcessor
- Parameters:
requestMessage - The message to transform.
- Throws:
UnsupportedDataException
writePropertysetElement
protected Element writePropertysetElement(Document d)
readPropertysetElement
protected Element readPropertysetElement(Document d)
writeProperties
protected void writeProperties(Document d,
Element propertysetElement,
OutgoingEventRequestMessage message)
readProperties
protected void readProperties(Element propertysetElement,
IncomingEventRequestMessage message)
toString
protected String toString(Document d)
throws Exception
- Throws:
Exception
getUnprefixedNodeName
protected String getUnprefixedNodeName(Node node)
Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.