@Alternative public class PullGENAEventProcessorImpl extends GENAEventProcessorImpl
This processor is more lenient with parsing, looking only for the required XML tags.
To use this parser you need to install an implementation of the XMLPull API.
Constructor and Description |
---|
PullGENAEventProcessorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
readBody(IncomingEventRequestMessage requestMessage)
Transforms an XML message body and adds to a collection of
StateVariableValue s.. |
protected void |
readProperties(org.xmlpull.v1.XmlPullParser xpp,
IncomingEventRequestMessage message) |
protected void |
readProperty(org.xmlpull.v1.XmlPullParser xpp,
IncomingEventRequestMessage message,
StateVariable[] stateVariables) |
createDocumentBuilderFactory, error, fatalError, getMessageBody, getUnprefixedNodeName, readProperties, readPropertysetElement, toString, warning, writeBody, writeProperties, writePropertysetElement
public void readBody(IncomingEventRequestMessage requestMessage) throws UnsupportedDataException
GENAEventProcessor
StateVariableValue
s..readBody
in interface GENAEventProcessor
readBody
in class GENAEventProcessorImpl
requestMessage
- The message to transform.UnsupportedDataException
protected void readProperties(org.xmlpull.v1.XmlPullParser xpp, IncomingEventRequestMessage message) throws Exception
Exception
protected void readProperty(org.xmlpull.v1.XmlPullParser xpp, IncomingEventRequestMessage message, StateVariable[] stateVariables) throws Exception
Exception
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.