All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.poi.schemas.vmldrawing.XmlDocument Maven / Gradle / Ivy

Go to download

The Apache Commons Codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities.

There is a newer version: 62
Show newest version
/*
 * An XML document type.
 * Localname: xml
 * Namespace: urn:schemas-poi-apache-org:vmldrawing
 * Java type: org.apache.poi.schemas.vmldrawing.XmlDocument
 *
 * Automatically generated - do not modify.
 */
package org.apache.poi.schemas.vmldrawing;


/**
 * A document containing one xml(@urn:schemas-poi-apache-org:vmldrawing) element.
 *
 * This is a complex type.
 */
public interface XmlDocument extends org.apache.xmlbeans.XmlObject
{
    org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        Factory.getTypeLoader().resolveHandle("xml2eb5doctype");
    
    /**
     * Gets the "xml" element
     */
    org.apache.poi.schemas.vmldrawing.CTXML getXml();
    
    /**
     * Sets the "xml" element
     */
    void setXml(org.apache.poi.schemas.vmldrawing.CTXML xml);
    
    /**
     * Appends and returns a new empty "xml" element
     */
    org.apache.poi.schemas.vmldrawing.CTXML addNewXml();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    final class Factory
    {
        private static synchronized org.apache.poi.schemas.ooxml.system.ooxml.TypeSystemHolder getTypeLoader() {
          return org.apache.poi.schemas.ooxml.system.ooxml.TypeSystemHolder.typeSystem;
        }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument newInstance() {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().newInstance( type, null ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( file, type, null ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( file, type, options ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( u, type, null ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( u, type, options ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( is, type, null ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( is, type, options ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( r, type, null ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( r, type, options ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( sr, type, null ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( sr, type, options ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( node, type, null ); }
        
        public static org.apache.poi.schemas.vmldrawing.XmlDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.apache.poi.schemas.vmldrawing.XmlDocument) getTypeLoader().parse( node, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy