001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v@@BUILD_VERSION@@
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: 2007.08.10 at 08:10:03 PM IST
006: //
007:
008: package com.sun.xml.ws.security.secconv.impl.wssx.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: * <xs:element ref='wsc:Identifier' minOccurs='1' />
030: * <xs:element ref='wsc:Instance' minOccurs='0' />
031: * <xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
032: *
033: *
034: * <p>Java class for SecurityContextTokenType complex type.
035: *
036: * <p>The following schema fragment specifies the expected content contained within this class.
037: *
038: * <pre>
039: * <complexType name="SecurityContextTokenType">
040: * <complexContent>
041: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
042: * <sequence>
043: * <any/>
044: * </sequence>
045: * <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
046: * </restriction>
047: * </complexContent>
048: * </complexType>
049: * </pre>
050: *
051: *
052: */
053: @XmlAccessorType(XmlAccessType.FIELD)
054: @XmlType(name="SecurityContextTokenType",propOrder={"any"})
055: public class SecurityContextTokenType {
056:
057: @XmlAnyElement(lax=true)
058: protected List<Object> any;
059: @XmlAttribute(name="Id",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
060: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
061: @XmlID
062: protected String id;
063: @XmlAnyAttribute
064: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
065:
066: /**
067: * Gets the value of the any property.
068: *
069: * <p>
070: * This accessor method returns a reference to the live list,
071: * not a snapshot. Therefore any modification you make to the
072: * returned list will be present inside the JAXB object.
073: * This is why there is not a <CODE>set</CODE> method for the any property.
074: *
075: * <p>
076: * For example, to add a new item, do as follows:
077: * <pre>
078: * getAny().add(newItem);
079: * </pre>
080: *
081: *
082: * <p>
083: * Objects of the following type(s) are allowed in the list
084: * {@link Object }
085: * {@link Element }
086: *
087: *
088: */
089: public List<Object> getAny() {
090: if (any == null) {
091: any = new ArrayList<Object>();
092: }
093: return this .any;
094: }
095:
096: /**
097: * Gets the value of the id property.
098: *
099: * @return
100: * possible object is
101: * {@link String }
102: *
103: */
104: public String getId() {
105: return id;
106: }
107:
108: /**
109: * Sets the value of the id property.
110: *
111: * @param value
112: * allowed object is
113: * {@link String }
114: *
115: */
116: public void setId(String value) {
117: this .id = value;
118: }
119:
120: /**
121: * Gets a map that contains attributes that aren't bound to any typed property on this class.
122: *
123: * <p>
124: * the map is keyed by the name of the attribute and
125: * the value is the string value of the attribute.
126: *
127: * the map returned by this method is live, and you can add new attribute
128: * by updating the map directly. Because of this design, there's no setter.
129: *
130: *
131: * @return
132: * always non-null
133: */
134: public Map<QName, String> getOtherAttributes() {
135: return otherAttributes;
136: }
137:
138: }
|