com.ericsson.tic.vi
Class XMLInterface
java.lang.Object
com.ericsson.tic.vi.XMLInterface
public class XMLInterface
- extends Object
Reads and parses the XML file used during startup.
- Version:
- 1.0 (2008-12-04)
- Author:
- Sami Matilainen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
totalData
public static int totalData
totalCategories
public static int totalCategories
totalNodeTypes
public static int totalNodeTypes
totalCategoryItems
public static int[] totalCategoryItems
totalCommands
public static int totalCommands
dataDataSetId
public static int[] dataDataSetId
dataDataSetName
public static String[] dataDataSetName
dataDataSetPName
public static String[] dataDataSetPName
dataDataSetSet
public static int[] dataDataSetSet
dataDataSetCat
public static int[] dataDataSetCat
dataDataSetParseStrat
public static int[] dataDataSetParseStrat
dataDataSetDimension
public static int[] dataDataSetDimension
dataDataSetNodeType
public static int[] dataDataSetNodeType
dataDataSetMax
public static int[] dataDataSetMax
dataDataSetMin
public static int[] dataDataSetMin
dataDataSetColor
public static float[][][] dataDataSetColor
categoriesCategoryId
public static int[] categoriesCategoryId
categoriesCategoryName
public static String[] categoriesCategoryName
categoriesCategoryDatabaseTableID
public static int[] categoriesCategoryDatabaseTableID
categoriesCategoryCategoryItemName
public static String[][] categoriesCategoryCategoryItemName
categoriesCategoryCategoryItemParseName
public static String[][] categoriesCategoryCategoryItemParseName
categoriesCategoryCategoryItemColor
public static float[][][][] categoriesCategoryCategoryItemColor
commandsCommandId
public static int[] commandsCommandId
commandsCommandName
public static String[] commandsCommandName
commandsCommandMessagePrefix
public static String[] commandsCommandMessagePrefix
commandsCommandMessage
public static String[] commandsCommandMessage
windowTitle
public static String windowTitle
masterHost
public static String masterHost
masterPort
public static String masterPort
keepAliveHost
public static String keepAliveHost
keepAlivePort
public static String keepAlivePort
inputPort
public static String inputPort
timeOut
public static int timeOut
defaultValue
public static int defaultValue
defaultBarType
public static int defaultBarType
betterLightingOn
public static boolean betterLightingOn
fogOn
public static boolean fogOn
barShadingOn
public static boolean barShadingOn
nodeShadingOn
public static boolean nodeShadingOn
lineAAOn
public static boolean lineAAOn
skyboxOn
public static boolean skyboxOn
TICC
public static int TICC
TICA
public static int TICA
topologyFileName
public static String topologyFileName
topologyNodeTypeId
public static int[] topologyNodeTypeId
topologyNodeTypeName
public static String[] topologyNodeTypeName
topologyNodeTypeLevel
public static int[] topologyNodeTypeLevel
topologyNodeTypeNullColor
public static float[][] topologyNodeTypeNullColor
XMLInterface
public XMLInterface()
readConfiguration
public static void readConfiguration()
- Reads the xml file.
readDocument
private static void readDocument(Document doc)
readTopology
private static void readTopology(Node[] node)
readInit
private static void readInit(Node[] node)
readCommands
private static void readCommands(Node[] node)
readCategories
private static void readCategories(Node[] node)
readData
private static void readData(Node[] node)
getColor
private static float[] getColor(Node colors)
getColors
private static float[][] getColors(Node colors)
printChildren
private static void printChildren(Node n)
printElement
private static void printElement(Node n)
getValue
private static String getValue(Node n)
getChildren
private static Node[] getChildren(Node n)
getChildrenWithName
private static Node[] getChildrenWithName(Node n,
String name)
getChildrenWithName
private static Node[] getChildrenWithName(Node[] l,
String name)
stripTextNodes
private static Node[] stripTextNodes(NodeList l)
readDatabase
private static void readDatabase(Node[] db)