com.universaldevices.device.model
Class UDNodeDevicePropertiesParser
java.lang.Object
com.universaldevices.common.xml.UDXmlParser
com.universaldevices.device.model.UDNodeDevicePropertiesParser
public class UDNodeDevicePropertiesParser
- extends com.universaldevices.common.xml.UDXmlParser
Field Summary |
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
|
Fields inherited from class com.universaldevices.common.xml.UDXmlParser |
tags, xmlData, xmlElement, xmlNestingLevel, xmlTagName, xmlTagNum |
Methods inherited from class com.universaldevices.common.xml.UDXmlParser |
getOuterTagName, getOuterTagNum, parse, parse, skipSubTree, stopParse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
staticTags
protected static java.util.HashMap<java.lang.String,java.lang.Enum> staticTags
propertiesByName
protected static java.util.HashMap<java.lang.String,com.universaldevices.device.model.UDNodeDevicePropertiesParser.UDCreate> propertiesByName
UDNodeDevicePropertiesParser
public UDNodeDevicePropertiesParser(com.universaldevices.common.properties.UDPropertyFactory propertyFactory,
UDNodeDevicePropertiesProcessor processor)
setProxyDevice
public void setProxyDevice(UDProxyDevice proxyDevice)
setNode
public void setNode(java.lang.String nodeAddress)
resetProperties
public void resetProperties(boolean v)
- Sets whether the existing node device properties will be removed and replaced
by only those being parsed.
If this is true then change events are not sent out.
- Parameters:
v
- True then remove the existing properties.
onStartDocument
protected void onStartDocument()
- Specified by:
onStartDocument
in class com.universaldevices.common.xml.UDXmlParser
onEndDocument
protected void onEndDocument()
- Specified by:
onEndDocument
in class com.universaldevices.common.xml.UDXmlParser
onStartTag
protected void onStartTag()
- Specified by:
onStartTag
in class com.universaldevices.common.xml.UDXmlParser
onEndTag
protected void onEndTag()
- Specified by:
onEndTag
in class com.universaldevices.common.xml.UDXmlParser