Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.deployment.webapp » [javadoc | source]
org.apache.cactus.integration.ant.deployment.webapp
public class: WebXmlIo [javadoc | source]
java.lang.Object
   org.apache.cactus.integration.ant.deployment.webapp.WebXmlIo
Provides convenience methods for reading and writing web deployment descriptors.
Method from org.apache.cactus.integration.ant.deployment.webapp.WebXmlIo Summary:
newWebXml,   parseWebXml,   parseWebXmlFromFile,   writeWebXml,   writeWebXml,   writeWebXml,   writeWebXml
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.deployment.webapp.WebXmlIo Detail:
 public static WebXml newWebXml(WebXmlVersion theVersion) throws ParserConfigurationException 
    Creates a new empty deployment descriptor.
 public static WebXml parseWebXml(InputStream theInput,
    EntityResolver theEntityResolver) throws IOException, SAXException, ParserConfigurationException 
    Parses a deployment descriptor provided as input stream.
 public static WebXml parseWebXmlFromFile(File theFile,
    EntityResolver theEntityResolver) throws IOException, SAXException, ParserConfigurationException 
    Parses a deployment descriptor stored in a regular file.
 public static  void writeWebXml(WebXml theWebXml,
    File theFile) throws IOException 
    Writes the specified document to a file.
 public static  void writeWebXml(WebXml theWebXml,
    File theFile,
    String theEncoding) throws IOException 
    Writes the specified document to a file.
 public static  void writeWebXml(WebXml theWebXml,
    File theFile,
    String theEncoding,
    boolean isIndent) throws IOException 
    Writes the specified document to a file.
 public static  void writeWebXml(WebXml theWebXml,
    OutputStream theOutput,
    String theEncoding,
    boolean isIndent) throws IOException 
    Writes the specified document to an output stream.