Modifier and Type | Field and Description |
---|---|
static int |
DIMMER_TYPE |
(package private) String[] |
elementNames_ |
(package private) String[] |
folderAddresses_ |
(package private) Elements |
folderElements_ |
(package private) String[] |
folderNames_ |
(package private) String[] |
groupAddresses_ |
(package private) Elements |
groupElements_ |
(package private) GroupMembers[] |
groupMembers_ |
(package private) String[] |
groupNames_ |
static int |
METER_TYPE |
(package private) String[] |
nodeAddresses_ |
(package private) Document |
nodeDoc_ |
(package private) Elements |
nodeElements_ |
(package private) String[] |
nodeNames_ |
(package private) int[] |
nodeTypes_ |
static int |
PLUG_TYPE |
(package private) Element |
rootElem_ |
static int |
SENSOR_TYPE |
static int |
SWITCH_TYPE |
static int |
THERMOSTAT_TYPE |
(package private) Builder |
xmlBuilder_ |
Constructor and Description |
---|
IsyNodes() |
IsyNodes(String nodeXmlStr) |
IsyNodes(StringBuilder nodeXmlSB) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getFolderNames()
Returns the class var folderNames_.
|
protected String[] |
getFolderNamesCopy()
Returns a verbatim COPY of the class var folderNames_.
|
protected String[] |
getFolderNamesCopy(boolean sorted)
Returns a verbatim COPY of the class var folderNames_.
|
protected String |
getGroupAddress(String sceneName) |
protected String[] |
getGroupAddressesCopy()
Returns a verbatim COPY of the class var groupAddresses_.
|
(package private) GroupMembers |
getGroupMembers(String sceneName) |
protected String |
getGroupName(String sceneAddress) |
protected String[] |
getGroupNames()
Returns the class var groupNames_.
|
protected String[] |
getGroupNamesCopy()
Returns a verbatim COPY of the class var groupNames_.
|
protected String[] |
getGroupNamesCopy(boolean sorted)
Returns a verbatim COPY of the class var groupNames_.
|
protected int |
getGroupRef(String sceneName)
gets the array ref num for the given scene Name.
|
protected String |
getNodeAddress(String nodeName) |
protected String[] |
getNodeAddresses()
Returns the class var nodeAddresses_.
|
protected String[] |
getNodeAddressesCopy()
Returns a verbatim COPY of the class var nodeAddresses_.
|
protected String |
getNodeName(String nodeAddress) |
protected String[] |
getNodeNames()
Returns the class var nodeNames_.
|
protected String[] |
getNodeNamesCopy()
Returns a verbatim COPY of the class var nodeNames_.
|
protected String[] |
getNodeNamesCopy(boolean sorted)
Returns a verbatim COPY of the class var nodeNames_.
|
protected int |
getNodeRef(String nodeName) |
protected int |
getNodeType(String nodeName) |
protected String |
getNodeTypeStr(String nodeName) |
protected Element |
getNodeWithName(String nodeName) |
protected String |
getSceneAddress(String sceneName) |
protected String[] |
getSceneAddressesCopy()
Returns a verbatim COPY of the class var groupAddresses_.
|
protected String |
getSceneName(String sceneAddress) |
protected String[] |
getSceneNamesCopy()
Returns a verbatim COPY of the class var sceneNames_.
|
protected String[] |
getSceneNamesCopy(boolean sorted)
Returns a verbatim COPY of the class var sceneNames_.
|
protected Element |
getSceneWithName(String sceneName) |
protected boolean |
hasGroupName(String groupName) |
protected boolean |
hasNodeName(String nodeName) |
protected boolean |
hasSceneName(String sceneName) |
protected Document |
parseXMLNodes(String nodeXmlStr)
Reads in the XML Config file.
|
String |
toString() |
public static final int SWITCH_TYPE
public static final int DIMMER_TYPE
public static final int PLUG_TYPE
public static final int SENSOR_TYPE
public static final int THERMOSTAT_TYPE
public static final int METER_TYPE
Builder xmlBuilder_
String[] elementNames_
String[] nodeNames_
String[] nodeAddresses_
int[] nodeTypes_
String[] folderNames_
String[] folderAddresses_
String[] groupNames_
String[] groupAddresses_
GroupMembers[] groupMembers_
Elements folderElements_
Elements nodeElements_
Elements groupElements_
public IsyNodes()
public IsyNodes(String nodeXmlStr) throws ParsingException, IOException
ParsingException
IOException
public IsyNodes(StringBuilder nodeXmlSB) throws ParsingException, IOException
ParsingException
IOException
protected boolean hasNodeName(String nodeName)
protected boolean hasGroupName(String groupName)
protected boolean hasSceneName(String sceneName)
protected String[] getNodeNames()
protected String[] getNodeAddresses()
protected String[] getNodeNamesCopy()
protected String[] getNodeNamesCopy(boolean sorted)
protected String[] getSceneNamesCopy()
protected String[] getSceneNamesCopy(boolean sorted)
protected String[] getNodeAddressesCopy()
protected String[] getSceneAddressesCopy()
protected String[] getFolderNames()
protected String[] getFolderNamesCopy()
protected String[] getFolderNamesCopy(boolean sorted)
protected String[] getGroupNames()
protected String[] getGroupNamesCopy()
protected String[] getGroupNamesCopy(boolean sorted)
protected String[] getGroupAddressesCopy()
protected Element getNodeWithName(String nodeName)
protected Element getSceneWithName(String sceneName)
protected String getSceneAddress(String sceneName)
protected String getGroupAddress(String sceneName)
protected String getNodeAddress(String nodeName)
protected int getNodeRef(String nodeName)
protected int getGroupRef(String sceneName)
GroupMembers getGroupMembers(String sceneName)
protected int getNodeType(String nodeName)
protected String getNodeTypeStr(String nodeName)
protected String getNodeName(String nodeAddress)
protected String getGroupName(String sceneAddress)
protected String getSceneName(String sceneAddress)
protected Document parseXMLNodes(String nodeXmlStr) throws ParsingException, IOException
1 81 CF 1 HangingLight-E 28566 1.7.55.0 true 0 0 0 1 81 CF 1 C07
ParsingException
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses