001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022:
023: //
024: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
025: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
026: // Any modifications to this file will be lost upon recompilation of the source schema.
027: // Generated on: 2006.08.10 at 02:34:36 PM IST
028: //
029:
030: package com.sun.xml.ws.security.secext10;
031:
032: import java.util.ArrayList;
033: import java.util.HashMap;
034: import java.util.List;
035: import java.util.Map;
036: import javax.xml.bind.annotation.XmlAccessType;
037: import javax.xml.bind.annotation.XmlAccessorType;
038: import javax.xml.bind.annotation.XmlAnyAttribute;
039: import javax.xml.bind.annotation.XmlAnyElement;
040: import javax.xml.bind.annotation.XmlType;
041: import javax.xml.namespace.QName;
042:
043: /**
044: * This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
045: *
046: * <p>Java class for TransformationParametersType complex type.
047: *
048: * <p>The following schema fragment specifies the expected content contained within this class.
049: *
050: * <pre>
051: * <complexType name="TransformationParametersType">
052: * <complexContent>
053: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
054: * <sequence>
055: * <any/>
056: * </sequence>
057: * </restriction>
058: * </complexContent>
059: * </complexType>
060: * </pre>
061: *
062: *
063: */
064: @XmlAccessorType(XmlAccessType.FIELD)
065: @XmlType(name="TransformationParametersType",propOrder={"any"})
066: public class TransformationParametersType {
067:
068: @XmlAnyElement(lax=true)
069: protected List<Object> any;
070: @XmlAnyAttribute
071: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
072:
073: /**
074: * Gets the value of the any property.
075: *
076: * <p>
077: * This accessor method returns a reference to the live list,
078: * not a snapshot. Therefore any modification you make to the
079: * returned list will be present inside the JAXB object.
080: * This is why there is not a <CODE>set</CODE> method for the any property.
081: *
082: * <p>
083: * For example, to add a new item, do as follows:
084: * <pre>
085: * getAny().add(newItem);
086: * </pre>
087: *
088: *
089: * <p>
090: * Objects of the following type(s) are allowed in the list
091: * {@link Element }
092: * {@link Object }
093: *
094: *
095: */
096: public List<Object> getAny() {
097: if (any == null) {
098: any = new ArrayList<Object>();
099: }
100: return this .any;
101: }
102:
103: /**
104: * Gets a map that contains attributes that aren't bound to any typed property on this class.
105: *
106: * <p>
107: * the map is keyed by the name of the attribute and
108: * the value is the string value of the attribute.
109: *
110: * the map returned by this method is live, and you can add new attribute
111: * by updating the map directly. Because of this design, there's no setter.
112: *
113: *
114: * @return
115: * always non-null
116: */
117: public Map<QName, String> getOtherAttributes() {
118: return otherAttributes;
119: }
120:
121: }
|