1 /* 2 * Copyright 2001-2008 The Apache Software Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 */ 17 18 19 package org.w3._2000._09.xmldsig_; 20 21 import java.util.ArrayList; 22 import java.util.List; 23 import javax.xml.bind.annotation.XmlAccessType; 24 import javax.xml.bind.annotation.XmlAccessorType; 25 import javax.xml.bind.annotation.XmlElement; 26 import javax.xml.bind.annotation.XmlType; 27 28 29 /** 30 * <p>Java class for TransformsType complex type. 31 * 32 * <p>The following schema fragment specifies the expected content contained within this class. 33 * 34 * <pre> 35 * <complexType name="TransformsType"> 36 * <complexContent> 37 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 38 * <sequence> 39 * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transform" maxOccurs="unbounded"/> 40 * </sequence> 41 * </restriction> 42 * </complexContent> 43 * </complexType> 44 * </pre> 45 * 46 * 47 */ 48 @XmlAccessorType(XmlAccessType.FIELD) 49 @XmlType(name = "TransformsType", propOrder = { 50 "transform" 51 }) 52 public class TransformsType { 53 54 @XmlElement(name = "Transform", required = true) 55 protected List<TransformType> transform; 56 57 /** 58 * Gets the value of the transform property. 59 * 60 * <p> 61 * This accessor method returns a reference to the live list, 62 * not a snapshot. Therefore any modification you make to the 63 * returned list will be present inside the JAXB object. 64 * This is why there is not a <CODE>set</CODE> method for the transform property. 65 * 66 * <p> 67 * For example, to add a new item, do as follows: 68 * <pre> 69 * getTransform().add(newItem); 70 * </pre> 71 * 72 * 73 * <p> 74 * Objects of the following type(s) are allowed in the list 75 * {@link TransformType } 76 * 77 * 78 */ 79 public List<TransformType> getTransform() { 80 if (transform == null) { 81 transform = new ArrayList<TransformType>(); 82 } 83 return this.transform; 84 } 85 86 }