com.ibm.di.util
Class CSServersInfo
java.lang.Object
com.ibm.di.util.CSServersInfo
- All Implemented Interfaces:
- ErrorHandler
public class CSServersInfo
- extends Object
- implements ErrorHandler
A class reading and writing Entries in XML format.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toplevel
public Element toplevel
toplevelInput
public Element toplevelInput
children
public NodeList children
curindex
public int curindex
useCData
public boolean useCData
entrytag
public String entrytag
valuetag
public String valuetag
db
public DocumentBuilder db
CSServersInfo
public CSServersInfo()
init
public void init()
throws Exception
- Throws:
Exception
initInput
public void initInput()
throws Exception
- Throws:
Exception
initOutput
public void initOutput()
throws Exception
- Throws:
Exception
getServerInfo
public Hashtable getServerInfo(Vector hosts,
Vector ports)
throws Exception
- Throws:
Exception
addNode
public void addNode(String hostName,
String portNumber,
String database)
throws Exception
- Throws:
Exception
delNode
public void delNode(String hostName,
String portNumber,
String database)
throws Exception
- Throws:
Exception
setIndent
public void setIndent(String indent)
setLineSeparator
public void setLineSeparator(String lineSeparator)
flush
public void flush()
fatalError
public void fatalError(SAXParseException exception)
- Specified by:
fatalError
in interface ErrorHandler
error
public void error(SAXParseException exception)
throws SAXException
- Specified by:
error
in interface ErrorHandler
- Throws:
SAXException
warning
public void warning(SAXParseException err)
throws SAXException
- Specified by:
warning
in interface ErrorHandler
- Throws:
SAXException