public class GENAEventProcessorImpl extends PooledXmlProcessor implements GENAEventProcessor, ErrorHandler
| Constructor and Description |
|---|
GENAEventProcessorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected DocumentBuilderFactory |
createDocumentBuilderFactory() |
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
protected String |
getMessageBody(UpnpMessage message) |
protected String |
getUnprefixedNodeName(Node node) |
void |
readBody(IncomingEventRequestMessage requestMessage)
Transforms an XML message body and adds to a collection of
StateVariableValues.. |
protected void |
readProperties(Element propertysetElement,
IncomingEventRequestMessage message) |
protected Element |
readPropertysetElement(Document d) |
protected String |
toString(Document d) |
void |
warning(SAXParseException e) |
void |
writeBody(OutgoingEventRequestMessage requestMessage)
Transforms a collection of
StateVariableValues into an XML message body. |
protected void |
writeProperties(Document d,
Element propertysetElement,
OutgoingEventRequestMessage message) |
protected Element |
writePropertysetElement(Document d) |
newDocument, readDocument, readDocumentprotected DocumentBuilderFactory createDocumentBuilderFactory() throws FactoryConfigurationError
FactoryConfigurationErrorpublic void writeBody(OutgoingEventRequestMessage requestMessage) throws UnsupportedDataException
GENAEventProcessorStateVariableValues into an XML message body.writeBody in interface GENAEventProcessorrequestMessage - The message to transform.UnsupportedDataExceptionpublic void readBody(IncomingEventRequestMessage requestMessage) throws UnsupportedDataException
GENAEventProcessorStateVariableValues..readBody in interface GENAEventProcessorrequestMessage - The message to transform.UnsupportedDataExceptionprotected void writeProperties(Document d, Element propertysetElement, OutgoingEventRequestMessage message)
protected void readProperties(Element propertysetElement, IncomingEventRequestMessage message)
protected String getMessageBody(UpnpMessage message) throws UnsupportedDataException
UnsupportedDataExceptionpublic void warning(SAXParseException e) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic void error(SAXParseException e) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException e) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionCopyright © 2023 jUPnP.org. All rights reserved.