Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.deployment.application » [javadoc | source]
org.apache.cactus.integration.ant.deployment.application
public class: ApplicationXmlIo [javadoc | source]
java.lang.Object
   org.apache.cactus.integration.ant.deployment.application.ApplicationXmlIo
Provides convenience methods for reading and writing enterprise application deployment descriptors (application.xml).
Method from org.apache.cactus.integration.ant.deployment.application.ApplicationXmlIo Summary:
parseApplicationXml,   parseApplicationXmlFromFile,   writeApplicationXml,   writeApplicationXml,   writeApplicationXml,   writeApplicationXml
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.deployment.application.ApplicationXmlIo Detail:
 public static ApplicationXml parseApplicationXml(InputStream theInput,
    EntityResolver theEntityResolver) throws IOException, SAXException, ParserConfigurationException 
    Parses a deployment descriptor provided as input stream.
 public static ApplicationXml parseApplicationXmlFromFile(File theFile,
    EntityResolver theEntityResolver) throws IOException, SAXException, ParserConfigurationException 
    Parses a deployment descriptor stored in a regular file.
 public static  void writeApplicationXml(ApplicationXml theAppXml,
    File theFile) throws IOException 
    Writes the specified document to a file.
 public static  void writeApplicationXml(ApplicationXml theAppXml,
    File theFile,
    String theEncoding) throws IOException 
    Writes the specified document to a file.
 public static  void writeApplicationXml(ApplicationXml theAppXml,
    File theFile,
    String theEncoding,
    boolean isIndent) throws IOException 
    Writes the specified document to a file.
 public static  void writeApplicationXml(ApplicationXml theAppXml,
    OutputStream theOutput,
    String theEncoding,
    boolean isIndent) throws IOException 
    Writes the specified document to an output stream.