com.cosylab.vdct.xml
Class XMLManager

java.lang.Object
  extended by com.cosylab.vdct.xml.XMLManager

public final class XMLManager
extends java.lang.Object

Insert the class' description here. Creation date: (6.12.2001 21:54:33)

Author:

Constructor Summary
XMLManager()
           
 
Method Summary
static void addDataNodeTo(org.w3c.dom.Document doc, org.w3c.dom.Element parentNode, java.lang.String newNodeName, java.lang.String newNodeData)
          Insert the method's description here.
static org.w3c.dom.Node findNode(org.w3c.dom.Node node, java.lang.String name)
          Insert the method's description here.
static java.lang.String getNodeAttribute(org.w3c.dom.Node node, java.lang.String name)
          Insert the method's description here.
static java.lang.String getNodeValue(org.w3c.dom.Node node)
          Insert the method's description here.
static org.w3c.dom.Document newDocument()
          Insert the method's description here.
static org.w3c.dom.Document readFileDocument(java.lang.String filename)
          Insert the method's description here.
static org.w3c.dom.Document readFileDocument(java.lang.String fileName, java.lang.String dtdSymbol, java.net.URL dtdUrl)
          Insert the method's description here.
static org.w3c.dom.Document readResourceDocument(java.lang.String resource)
          Insert the method's description here.
static org.w3c.dom.Document readResourceDocument(java.lang.String resource, java.lang.String dtdSymbol, java.net.URL dtdUrl)
          Insert the method's description here.
static void writeDocument(java.lang.String fileName, org.w3c.dom.Document doc, java.lang.String publicId, java.lang.String systemId, java.lang.String dtd)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLManager

public XMLManager()
Method Detail

addDataNodeTo

public static void addDataNodeTo(org.w3c.dom.Document doc,
                                 org.w3c.dom.Element parentNode,
                                 java.lang.String newNodeName,
                                 java.lang.String newNodeData)
Insert the method's description here. Creation date: (6.12.2001 21:54:51)

Parameters:
-

findNode

public static org.w3c.dom.Node findNode(org.w3c.dom.Node node,
                                        java.lang.String name)
Insert the method's description here. Creation date: (6.12.2001 21:54:51)

Parameters:
-
Returns:

getNodeAttribute

public static java.lang.String getNodeAttribute(org.w3c.dom.Node node,
                                                java.lang.String name)
Insert the method's description here. Creation date: (6.12.2001 22:00:32)

Parameters:
-
Returns:

getNodeValue

public static java.lang.String getNodeValue(org.w3c.dom.Node node)
Insert the method's description here. Creation date: (6.12.2001 22:00:48)

Parameters:
-
Returns:

newDocument

public static org.w3c.dom.Document newDocument()
Insert the method's description here. Creation date: (6.12.2001 22:01:39)

Parameters:
-
Returns:

readFileDocument

public static org.w3c.dom.Document readFileDocument(java.lang.String filename)
                                             throws java.io.IOException,
                                                    org.xml.sax.SAXException,
                                                    javax.xml.parsers.ParserConfigurationException
Insert the method's description here. Creation date: (6.12.2001 22:02:24)

Parameters:
-
Returns:
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

readFileDocument

public static org.w3c.dom.Document readFileDocument(java.lang.String fileName,
                                                    java.lang.String dtdSymbol,
                                                    java.net.URL dtdUrl)
                                             throws java.io.IOException,
                                                    org.xml.sax.SAXException,
                                                    javax.xml.parsers.ParserConfigurationException
Insert the method's description here. Creation date: (6.12.2001 22:02:24)

Parameters:
-
Returns:
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

readResourceDocument

public static org.w3c.dom.Document readResourceDocument(java.lang.String resource)
                                                 throws java.io.IOException,
                                                        org.xml.sax.SAXException,
                                                        javax.xml.parsers.ParserConfigurationException
Insert the method's description here. Creation date: (6.12.2001 22:03:02)

Parameters:
-
Returns:
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

readResourceDocument

public static org.w3c.dom.Document readResourceDocument(java.lang.String resource,
                                                        java.lang.String dtdSymbol,
                                                        java.net.URL dtdUrl)
                                                 throws java.io.IOException,
                                                        org.xml.sax.SAXException,
                                                        javax.xml.parsers.ParserConfigurationException
Insert the method's description here. Creation date: (6.12.2001 22:03:15)

Parameters:
-
Returns:
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

writeDocument

public static void writeDocument(java.lang.String fileName,
                                 org.w3c.dom.Document doc,
                                 java.lang.String publicId,
                                 java.lang.String systemId,
                                 java.lang.String dtd)
                          throws java.io.IOException
Insert the method's description here. Creation date: (6.12.2001 22:03:47)

Parameters:
-
Throws:
java.io.IOException