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.XmlMixed;
039: import javax.xml.bind.annotation.XmlRootElement;
040: import javax.xml.bind.annotation.XmlType;
041:
042: /**
043: * <p>Java class for CanonicalizationMethodType complex type.
044: *
045: * <p>The following schema fragment specifies the expected content contained within this class.
046: *
047: * <pre>
048: * <complexType name="CanonicalizationMethodType">
049: * <complexContent>
050: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
051: * <sequence>
052: * <any/>
053: * </sequence>
054: * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
055: * </restriction>
056: * </complexContent>
057: * </complexType>
058: * </pre>
059: *
060: *
061: */
062: @XmlRootElement(name="CanonicalizationMethodType")
063: @XmlAccessorType(XmlAccessType.FIELD)
064: @XmlType(name="CanonicalizationMethodType",propOrder={"content"})
065: public class CanonicalizationMethodType {
066:
067: @XmlMixed
068: @XmlAnyElement(lax=true)
069: protected List<Object> content;
070: @XmlAttribute(name="Algorithm",required=true)
071: protected String algorithm;
072:
073: /**
074: * Gets the value of the content 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 content property.
081: *
082: * <p>
083: * For example, to add a new item, do as follows:
084: * <pre>
085: * getContent().add(newItem);
086: * </pre>
087: *
088: *
089: * <p>
090: * Objects of the following type(s) are allowed in the list
091: * {@link Object }
092: * {@link String }
093: *
094: *
095: */
096: public List<Object> getContent() {
097: if (content == null) {
098: content = new ArrayList<Object>();
099: }
100: return this .content;
101: }
102:
103: /**
104: * Gets the value of the algorithm property.
105: *
106: * @return
107: * possible object is
108: * {@link String }
109: *
110: */
111: public String getAlgorithm() {
112: return algorithm;
113: }
114:
115: /**
116: * Sets the value of the algorithm property.
117: *
118: * @param value
119: * allowed object is
120: * {@link String }
121: *
122: */
123: public void setAlgorithm(String value) {
124: this.algorithm = value;
125: }
126:
127: }
|