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

com.microsoft.schemas.office.visio.x2012.main.MastersDocument 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: Masters
 * Namespace: http://schemas.microsoft.com/office/visio/2012/main
 * Java type: com.microsoft.schemas.office.visio.x2012.main.MastersDocument
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.visio.x2012.main;


/**
 * A document containing one Masters(@http://schemas.microsoft.com/office/visio/2012/main) element.
 *
 * This is a complex type.
 */
public interface MastersDocument extends org.apache.xmlbeans.XmlObject
{
    org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        Factory.getTypeLoader().resolveHandle("masters0341doctype");
    
    /**
     * Gets the "Masters" element
     */
    com.microsoft.schemas.office.visio.x2012.main.MastersType getMasters();
    
    /**
     * Sets the "Masters" element
     */
    void setMasters(com.microsoft.schemas.office.visio.x2012.main.MastersType masters);
    
    /**
     * Appends and returns a new empty "Masters" element
     */
    com.microsoft.schemas.office.visio.x2012.main.MastersType addNewMasters();
    
    /**
     * 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 com.microsoft.schemas.office.visio.x2012.main.MastersDocument newInstance() {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().newInstance( type, null ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( file, type, null ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( file, type, options ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( u, type, null ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( u, type, options ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( is, type, null ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( is, type, options ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( r, type, null ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( r, type, options ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( sr, type, null ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( sr, type, options ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( node, type, null ); }
        
        public static com.microsoft.schemas.office.visio.x2012.main.MastersDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.visio.x2012.main.MastersDocument) getTypeLoader().parse( node, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy