001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.08.10 at 02:34:36 PM IST
006: //
007:
008: package com.sun.xml.ws.security.secconv.impl.bindings;
009:
010: import java.util.ArrayList;
011: import java.util.HashMap;
012: import java.util.List;
013: import java.util.Map;
014: import javax.xml.bind.annotation.XmlAccessType;
015: import javax.xml.bind.annotation.XmlAccessorType;
016: import javax.xml.bind.annotation.XmlAnyAttribute;
017: import javax.xml.bind.annotation.XmlAnyElement;
018: import javax.xml.bind.annotation.XmlAttribute;
019: import javax.xml.bind.annotation.XmlID;
020: import javax.xml.bind.annotation.XmlType;
021: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
022: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
023: import javax.xml.namespace.QName;
024: import org.w3c.dom.Element;
025:
026: /**
027: *
028: * Actual content model is non-deterministic, hence wildcard. The following shows intended content model:
029: *
030: * <pre>
031: * <?xml version="1.0" encoding="UTF-8"?><xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" minOccurs="1" ref="wsc:Identifier"/>
032: * </pre>
033: *
034: * <pre>
035: * <?xml version="1.0" encoding="UTF-8"?><xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" minOccurs="0" ref="wsc:Instance"/>
036: * </pre>
037: *
038: * <pre>
039: * <?xml version="1.0" encoding="UTF-8"?><xs:any xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" maxOccurs="unbounded" minOccurs="0" namespace="##any" processContents="lax"/>
040: * </pre>
041: *
042: *
043: * <p>Java class for SecurityContextTokenType complex type.
044: *
045: * <p>The following schema fragment specifies the expected content contained within this class.
046: *
047: * <pre>
048: * <complexType name="SecurityContextTokenType">
049: * <complexContent>
050: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
051: * <sequence>
052: * <any/>
053: * </sequence>
054: * <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
055: * </restriction>
056: * </complexContent>
057: * </complexType>
058: * </pre>
059: *
060: *
061: */
062: @XmlAccessorType(XmlAccessType.FIELD)
063: @XmlType(name="SecurityContextTokenType",propOrder={"any"})
064: public class SecurityContextTokenType {
065:
066: @XmlAnyElement(lax=true)
067: protected List<Object> any;
068: @XmlAttribute(name="Id",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
069: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
070: @XmlID
071: protected String id;
072: @XmlAnyAttribute
073: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
074:
075: /**
076: * Gets the value of the any property.
077: *
078: * <p>
079: * This accessor method returns a reference to the live list,
080: * not a snapshot. Therefore any modification you make to the
081: * returned list will be present inside the JAXB object.
082: * This is why there is not a <CODE>set</CODE> method for the any property.
083: *
084: * <p>
085: * For example, to add a new item, do as follows:
086: * <pre>
087: * getAny().add(newItem);
088: * </pre>
089: *
090: *
091: * <p>
092: * Objects of the following type(s) are allowed in the list
093: * {@link Element }
094: * {@link Object }
095: *
096: *
097: */
098: public List<Object> getAny() {
099: if (any == null) {
100: any = new ArrayList<Object>();
101: }
102: return this .any;
103: }
104:
105: /**
106: * Gets the value of the id property.
107: *
108: * @return
109: * possible object is
110: * {@link String }
111: *
112: */
113: public String getId() {
114: return id;
115: }
116:
117: /**
118: * Sets the value of the id property.
119: *
120: * @param value
121: * allowed object is
122: * {@link String }
123: *
124: */
125: public void setId(String value) {
126: this .id = value;
127: }
128:
129: /**
130: * Gets a map that contains attributes that aren't bound to any typed property on this class.
131: *
132: * <p>
133: * the map is keyed by the name of the attribute and
134: * the value is the string value of the attribute.
135: *
136: * the map returned by this method is live, and you can add new attribute
137: * by updating the map directly. Because of this design, there's no setter.
138: *
139: *
140: * @return
141: * always non-null
142: */
143: public Map<QName, String> getOtherAttributes() {
144: return otherAttributes;
145: }
146:
147: }
|