This project has retired. For details please refer to its
Attic page.
XMLUtils (Cocoon Maven Plugin 1.0.2 API)
org.apache.cocoon.maven.deployer.utils
Class XMLUtils
java.lang.Object
org.apache.cocoon.maven.deployer.utils.XMLUtils
public class XMLUtils
- extends Object
- Version:
- $Id: XMLUtils.html 1351235 2012-06-18 08:41:39Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLUtils
public XMLUtils()
getChildNode
public static Element getChildNode(Element parent,
String nodeName)
getChildNodes
public static List getChildNodes(Element parent,
String nodeName)
getValue
public static String getValue(Element node)
parseXml
public static Document parseXml(File file)
throws IOException,
SAXException
- Throws:
IOException
SAXException
parseXml
public static Document parseXml(InputStream source)
throws IOException,
SAXException
- Throws:
IOException
SAXException
setValue
public static void setValue(Element node,
String value)
write
public static void write(Document node,
OutputStream out)
throws TransformerFactoryConfigurationError,
TransformerException
- Throws:
TransformerFactoryConfigurationError
TransformerException
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.