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

com.microsoft.schemas.office.word.CTBorder Maven / Gradle / Ivy

/*
 * XML Type:  CT_Border
 * Namespace: urn:schemas-microsoft-com:office:word
 * Java type: com.microsoft.schemas.office.word.CTBorder
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.word;


/**
 * An XML CT_Border(@urn:schemas-microsoft-com:office:word).
 *
 * This is a complex type.
 */
public interface CTBorder extends org.apache.xmlbeans.XmlObject
{
    org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        Factory.getTypeLoader().resolveHandle("ctborderc15dtype");
    
    /**
     * Gets the "type" attribute
     */
    com.microsoft.schemas.office.word.STBorderType.Enum getType();
    
    /**
     * Gets (as xml) the "type" attribute
     */
    com.microsoft.schemas.office.word.STBorderType xgetType();
    
    /**
     * True if has "type" attribute
     */
    boolean isSetType();
    
    /**
     * Sets the "type" attribute
     */
    void setType(com.microsoft.schemas.office.word.STBorderType.Enum type);
    
    /**
     * Sets (as xml) the "type" attribute
     */
    void xsetType(com.microsoft.schemas.office.word.STBorderType type);
    
    /**
     * Unsets the "type" attribute
     */
    void unsetType();
    
    /**
     * Gets the "width" attribute
     */
    java.math.BigInteger getWidth();
    
    /**
     * Gets (as xml) the "width" attribute
     */
    org.apache.xmlbeans.XmlPositiveInteger xgetWidth();
    
    /**
     * True if has "width" attribute
     */
    boolean isSetWidth();
    
    /**
     * Sets the "width" attribute
     */
    void setWidth(java.math.BigInteger width);
    
    /**
     * Sets (as xml) the "width" attribute
     */
    void xsetWidth(org.apache.xmlbeans.XmlPositiveInteger width);
    
    /**
     * Unsets the "width" attribute
     */
    void unsetWidth();
    
    /**
     * Gets the "shadow" attribute
     */
    com.microsoft.schemas.office.word.STBorderShadow.Enum getShadow();
    
    /**
     * Gets (as xml) the "shadow" attribute
     */
    com.microsoft.schemas.office.word.STBorderShadow xgetShadow();
    
    /**
     * True if has "shadow" attribute
     */
    boolean isSetShadow();
    
    /**
     * Sets the "shadow" attribute
     */
    void setShadow(com.microsoft.schemas.office.word.STBorderShadow.Enum shadow);
    
    /**
     * Sets (as xml) the "shadow" attribute
     */
    void xsetShadow(com.microsoft.schemas.office.word.STBorderShadow shadow);
    
    /**
     * Unsets the "shadow" attribute
     */
    void unsetShadow();
    
    /**
     * 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.word.CTBorder newInstance() {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().newInstance( type, null ); }
        
        public static com.microsoft.schemas.office.word.CTBorder newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.microsoft.schemas.office.word.CTBorder parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.microsoft.schemas.office.word.CTBorder parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( file, type, null ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( file, type, options ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( u, type, null ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( u, type, options ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( is, type, null ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( is, type, options ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( r, type, null ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( r, type, options ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( sr, type, null ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( sr, type, options ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( node, type, null ); }
        
        public static com.microsoft.schemas.office.word.CTBorder parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.microsoft.schemas.office.word.CTBorder) getTypeLoader().parse( node, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy