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

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


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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy