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-b24-ea3
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.01.20 at 03:59:03 PM IST
028: //
029:
030: package com.sun.xml.security.core.dsig;
031:
032: import java.util.ArrayList;
033: import java.util.List;
034: import javax.xml.bind.annotation.XmlAccessType;
035: import javax.xml.bind.annotation.XmlAccessorType;
036: import javax.xml.bind.annotation.XmlAnyElement;
037: import javax.xml.bind.annotation.XmlAttribute;
038: import javax.xml.bind.annotation.XmlID;
039: import javax.xml.bind.annotation.XmlMixed;
040: import javax.xml.bind.annotation.XmlRootElement;
041: import javax.xml.bind.annotation.XmlType;
042: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
043: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
044:
045: /**
046: * <p>Java class for SignaturePropertyType complex type.
047: *
048: * <p>The following schema fragment specifies the expected content contained within this class.
049: *
050: * <pre>
051: * <complexType name="SignaturePropertyType">
052: * <complexContent>
053: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
054: * <choice maxOccurs="unbounded">
055: * <any/>
056: * </choice>
057: * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
058: * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
059: * </restriction>
060: * </complexContent>
061: * </complexType>
062: * </pre>
063: *
064: *
065: */
066: @XmlRootElement(name="SignatureProperty")
067: @XmlAccessorType(XmlAccessType.FIELD)
068: @XmlType(name="SignaturePropertyType",propOrder={"content"})
069: public class SignaturePropertyType {
070:
071: @XmlMixed
072: @XmlAnyElement(lax=true)
073: protected List<Object> content;
074: @XmlAttribute(name="Id")
075: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
076: @XmlID
077: protected String id;
078: @XmlAttribute(name="Target",required=true)
079: protected String target;
080:
081: /**
082: * Gets the value of the content property.
083: *
084: * <p>
085: * This accessor method returns a reference to the live list,
086: * not a snapshot. Therefore any modification you make to the
087: * returned list will be present inside the JAXB object.
088: * This is why there is not a <CODE>set</CODE> method for the content property.
089: *
090: * <p>
091: * For example, to add a new item, do as follows:
092: * <pre>
093: * getContent().add(newItem);
094: * </pre>
095: *
096: *
097: * <p>
098: * Objects of the following type(s) are allowed in the list
099: * {@link Object }
100: * {@link String }
101: * {@link Element }
102: *
103: *
104: */
105: public List<Object> getContent() {
106: if (content == null) {
107: content = new ArrayList<Object>();
108: }
109: return this .content;
110: }
111:
112: /**
113: * Gets the value of the id property.
114: *
115: * @return
116: * possible object is
117: * {@link String }
118: *
119: */
120: public String getId() {
121: return id;
122: }
123:
124: /**
125: * Sets the value of the id property.
126: *
127: * @param value
128: * allowed object is
129: * {@link String }
130: *
131: */
132: public void setId(String value) {
133: this .id = value;
134: }
135:
136: /**
137: * Gets the value of the target property.
138: *
139: * @return
140: * possible object is
141: * {@link String }
142: *
143: */
144: public String getTarget() {
145: return target;
146: }
147:
148: /**
149: * Sets the value of the target property.
150: *
151: * @param value
152: * allowed object is
153: * {@link String }
154: *
155: */
156: public void setTarget(String value) {
157: this.target = value;
158: }
159:
160: }
|