Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2007-2013, Plutext Pty Ltd.
   *   
   *  This file is part of docx4j.
  
      docx4j is licensed under the Apache License, Version 2.0 (the "License"); 
      you may not use this file except in compliance with the License. 
  
      You may obtain a copy of the License at 
 
         http://www.apache.org/licenses/LICENSE-2.0 
 
     Unless required by applicable law or agreed to in writing, software 
     distributed under the License is distributed on an "AS IS" BASIS, 
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
     See the License for the specific language governing permissions and 
     limitations under the License.
 
  */
 
 
 package org.docx4j.wml; 
 
 

Java class for CT_ColorSchemeMapping complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_ColorSchemeMapping">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="bg1" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="t1" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="bg2" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="t2" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent1" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent2" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent3" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent4" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent5" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent6" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="hyperlink" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="followedHyperlink" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ColorSchemeIndex" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_ColorSchemeMapping")
 public class CTColorSchemeMapping implements Child
 {
 
     @XmlAttribute(name = "bg1", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex bg1;
     @XmlAttribute(name = "t1", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex t1;
     @XmlAttribute(name = "bg2", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex bg2;
     @XmlAttribute(name = "t2", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex t2;
     @XmlAttribute(name = "accent1", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex accent1;
     @XmlAttribute(name = "accent2", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex accent2;
     @XmlAttribute(name = "accent3", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex accent3;
     @XmlAttribute(name = "accent4", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex accent4;
     @XmlAttribute(name = "accent5", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex accent5;
     @XmlAttribute(name = "accent6", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex accent6;
     @XmlAttribute(name = "hyperlink", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STColorSchemeIndex hyperlink;
     @XmlAttribute(name = "followedHyperlink", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     @XmlTransient
     private Object parent;

    
Gets the value of the bg1 property.

Returns:
possible object is
    public STColorSchemeIndex getBg1() {
        return ;
    }

    
Sets the value of the bg1 property.

Parameters:
value allowed object is
    public void setBg1(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the t1 property.

Returns:
possible object is
    public STColorSchemeIndex getT1() {
        return ;
    }

    
Sets the value of the t1 property.

Parameters:
value allowed object is
    public void setT1(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the bg2 property.

Returns:
possible object is
    public STColorSchemeIndex getBg2() {
        return ;
    }

    
Sets the value of the bg2 property.

Parameters:
value allowed object is
    public void setBg2(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the t2 property.

Returns:
possible object is
    public STColorSchemeIndex getT2() {
        return ;
    }

    
Sets the value of the t2 property.

Parameters:
value allowed object is
    public void setT2(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the accent1 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent1() {
        return ;
    }

    
Sets the value of the accent1 property.

Parameters:
value allowed object is
    public void setAccent1(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the accent2 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent2() {
        return ;
    }

    
Sets the value of the accent2 property.

Parameters:
value allowed object is
    public void setAccent2(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the accent3 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent3() {
        return ;
    }

    
Sets the value of the accent3 property.

Parameters:
value allowed object is
    public void setAccent3(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the accent4 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent4() {
        return ;
    }

    
Sets the value of the accent4 property.

Parameters:
value allowed object is
    public void setAccent4(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the accent5 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent5() {
        return ;
    }

    
Sets the value of the accent5 property.

Parameters:
value allowed object is
    public void setAccent5(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the accent6 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent6() {
        return ;
    }

    
Sets the value of the accent6 property.

Parameters:
value allowed object is
    public void setAccent6(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the hyperlink property.

Returns:
possible object is
    public STColorSchemeIndex getHyperlink() {
        return ;
    }

    
Sets the value of the hyperlink property.

Parameters:
value allowed object is
    public void setHyperlink(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the value of the followedHyperlink property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the followedHyperlink property.

Parameters:
value allowed object is
    public void setFollowedHyperlink(STColorSchemeIndex value) {
        this. = value;
    }

    
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
    public Object getParent() {
        return this.;
    }
    public void setParent(Object parent) {
        this. = parent;
    }

    
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.

Parameters:
parent The parent object in the object tree.
unmarshaller The unmarshaller that generated the instance.
    public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
        setParent(parent);
    }
New to GrepCode? Check out our FAQ X