public class UDNodeDevicePropertiesParser
extends com.universaldevices.common.xml.UDXmlParser
Modifier and Type | Field and Description |
---|---|
protected static java.util.HashMap<java.lang.String,com.universaldevices.device.model.UDNodeDevicePropertiesParser.UDCreate> |
propertiesByName |
protected static java.util.HashMap<java.lang.String,java.lang.Enum> |
staticTags |
Constructor and Description |
---|
UDNodeDevicePropertiesParser(com.universaldevices.common.properties.UDPropertyFactory propertyFactory,
UDNodeDevicePropertiesProcessor processor) |
Modifier and Type | Method and Description |
---|---|
protected void |
onEndDocument()
Always called after parsing, even if parsing failed due to exception or other
reason.
|
protected void |
onEndTag()
Called for each end tag as they are found in the input XML stream
Use xmlTagName, xmlTagNum, xmlData, xmlNestingLevel to process this tag.
|
protected void |
onStartDocument()
Always called prior to parsing the first tag.
|
protected void |
onStartTag()
Called for each start tag as they are found in the input XML stream.
|
void |
resetProperties(boolean v)
Sets whether the existing node device properties will be removed and replaced
by only those being parsed.
|
void |
setNode(java.lang.String nodeAddress) |
void |
setProxyDevice(UDProxyDevice proxyDevice) |
protected static java.util.HashMap<java.lang.String,java.lang.Enum> staticTags
protected static java.util.HashMap<java.lang.String,com.universaldevices.device.model.UDNodeDevicePropertiesParser.UDCreate> propertiesByName
public UDNodeDevicePropertiesParser(com.universaldevices.common.properties.UDPropertyFactory propertyFactory, UDNodeDevicePropertiesProcessor processor)
public void setProxyDevice(UDProxyDevice proxyDevice)
public void setNode(java.lang.String nodeAddress)
public void resetProperties(boolean v)
v
- True then remove the existing properties.protected void onStartDocument()
com.universaldevices.common.xml.UDXmlParser
onStartDocument
in class com.universaldevices.common.xml.UDXmlParser
protected void onEndDocument()
com.universaldevices.common.xml.UDXmlParser
onEndDocument
in class com.universaldevices.common.xml.UDXmlParser
protected void onStartTag()
com.universaldevices.common.xml.UDXmlParser
onStartTag
in class com.universaldevices.common.xml.UDXmlParser
protected void onEndTag()
com.universaldevices.common.xml.UDXmlParser
onEndTag
in class com.universaldevices.common.xml.UDXmlParser