Package com.cosylab.vdct.xml
Class XMLManager
- java.lang.Object
-
- com.cosylab.vdct.xml.XMLManager
-
public final class XMLManager extends Object
Insert the class' description here. Creation date: (6.12.2001 21:54:33)- Author:
- cosylab
-
-
Constructor Summary
Constructors Constructor Description XMLManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addDataNodeTo(Document doc, Element parentNode, String newNodeName, String newNodeData)
Insert the method's description here.static Node
findNode(Node node, String name)
Insert the method's description here.static String
getNodeAttribute(Node node, String name)
Insert the method's description here.static String
getNodeValue(Node node)
Insert the method's description here.static Document
newDocument()
Insert the method's description here.static Document
readFileDocument(String filename)
Insert the method's description here.static Document
readFileDocument(String fileName, String dtdSymbol, URL dtdUrl)
Insert the method's description here.static Document
readResourceDocument(String resource)
Insert the method's description here.static Document
readResourceDocument(String resource, String dtdSymbol, URL dtdUrl)
Insert the method's description here.static void
writeDocument(String fileName, Document doc, String publicId, String systemId, String dtd)
Insert the method's description here.
-
-
-
Method Detail
-
addDataNodeTo
public static void addDataNodeTo(Document doc, Element parentNode, String newNodeName, String newNodeData)
Insert the method's description here. Creation date: (6.12.2001 21:54:51)- Parameters:
doc
- docparentNode
- parentNodenewNodeName
- newNodeNamenewNodeData
- newNodeData
-
findNode
public static Node findNode(Node node, String name)
Insert the method's description here. Creation date: (6.12.2001 21:54:51)- Parameters:
node
- nodename
- name- Returns:
- something
-
getNodeAttribute
public static String getNodeAttribute(Node node, String name)
Insert the method's description here. Creation date: (6.12.2001 22:00:32)- Parameters:
node
- nodename
- name- Returns:
- something
-
getNodeValue
public static String getNodeValue(Node node)
Insert the method's description here. Creation date: (6.12.2001 22:00:48)- Parameters:
node
- node- Returns:
- something
-
newDocument
public static Document newDocument()
Insert the method's description here. Creation date: (6.12.2001 22:01:39)- Returns:
- something
-
readFileDocument
public static Document readFileDocument(String filename) throws IOException, SAXException, ParserConfigurationException
Insert the method's description here. Creation date: (6.12.2001 22:02:24)- Parameters:
filename
- filename- Returns:
- something
- Throws:
IOException
- fooSAXException
- fooParserConfigurationException
- foo
-
readFileDocument
public static Document readFileDocument(String fileName, String dtdSymbol, URL dtdUrl) throws IOException, SAXException, ParserConfigurationException
Insert the method's description here. Creation date: (6.12.2001 22:02:24)- Parameters:
fileName
- fileNamedtdSymbol
- dtdSymboldtdUrl
- dtdUrl- Returns:
- something
- Throws:
IOException
- fooSAXException
- fooParserConfigurationException
- foo
-
readResourceDocument
public static Document readResourceDocument(String resource) throws IOException, SAXException, ParserConfigurationException
Insert the method's description here. Creation date: (6.12.2001 22:03:02)- Parameters:
resource
- resource- Returns:
- something
- Throws:
IOException
- fooParserConfigurationException
- fooSAXException
- foo
-
readResourceDocument
public static Document readResourceDocument(String resource, String dtdSymbol, URL dtdUrl) throws IOException, SAXException, ParserConfigurationException
Insert the method's description here. Creation date: (6.12.2001 22:03:15)- Parameters:
resource
- resourcedtdSymbol
- dtdSymboldtdUrl
- dtdUrl- Returns:
- something
- Throws:
IOException
- fooSAXException
- fooParserConfigurationException
- foo
-
writeDocument
public static void writeDocument(String fileName, Document doc, String publicId, String systemId, String dtd) throws IOException
Insert the method's description here. Creation date: (6.12.2001 22:03:47)- Parameters:
fileName
- fileNamedoc
- docpublicId
- publicIdsystemId
- systemIddtd
- dtd- Throws:
IOException
- foo
-
-