Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2010-2012, Plutext Pty Ltd.
   *   
   *  This file is part of pptx4j, a component 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.pptx4j.pml;
 
 import java.util.List;

Java class for CT_TimeNodeList complex type.

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

 <complexType name="CT_TimeNodeList">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="par" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLTimeNodeParallel"/>
         <element name="seq" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLTimeNodeSequence"/>
         <element name="excl" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLTimeNodeExclusive"/>
         <element name="anim" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLAnimateBehavior"/>
         <element name="animClr" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLAnimateColorBehavior"/>
         <element name="animEffect" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLAnimateEffectBehavior"/>
         <element name="animMotion" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLAnimateMotionBehavior"/>
         <element name="animRot" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLAnimateRotationBehavior"/>
         <element name="animScale" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLAnimateScaleBehavior"/>
         <element name="cmd" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLCommandBehavior"/>
         <element name="set" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLSetBehavior"/>
         <element name="audio" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLMediaNodeAudio"/>
         <element name="video" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_TLMediaNodeVideo"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_TimeNodeList", propOrder = {
     "parOrSeqOrExcl"
 })
 public class CTTimeNodeList {
 
     @XmlElements({
         @XmlElement(name = "par", type = CTTLTimeNodeParallel.class),
         @XmlElement(name = "seq", type = CTTLTimeNodeSequence.class),
         @XmlElement(name = "excl", type = CTTLTimeNodeExclusive.class),
         @XmlElement(name = "anim", type = CTTLAnimateBehavior.class),
         @XmlElement(name = "animClr", type = CTTLAnimateColorBehavior.class),
         @XmlElement(name = "animEffect", type = CTTLAnimateEffectBehavior.class),
         @XmlElement(name = "animMotion", type = CTTLAnimateMotionBehavior.class),
         @XmlElement(name = "animRot", type = CTTLAnimateRotationBehavior.class),
         @XmlElement(name = "animScale", type = CTTLAnimateScaleBehavior.class),
         @XmlElement(name = "cmd", type = CTTLCommandBehavior.class),
         @XmlElement(name = "set", type = CTTLSetBehavior.class),
         @XmlElement(name = "audio", type = CTTLMediaNodeAudio.class),
         @XmlElement(name = "video", type = CTTLMediaNodeVideo.class)
     })
     protected List<ObjectparOrSeqOrExcl;

    
Gets the value of the parOrSeqOrExcl property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the parOrSeqOrExcl property.

For example, to add a new item, do as follows:

    getParOrSeqOrExcl().add(newItem);
 

Objects of the following type(s) are allowed in the list

    public List<ObjectgetParOrSeqOrExcl() {
        if ( == null) {
             = new ArrayList<Object>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X