001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
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.02.24 at 05:55:09 PM PST
006: //
007:
008: package com.sun.xml.ws.security.trust.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.XmlElement;
019: import javax.xml.bind.annotation.XmlType;
020: import javax.xml.namespace.QName;
021: import org.w3c.dom.Element;
022:
023: @XmlAccessorType(XmlAccessType.FIELD)
024: @XmlType(name="EndpointReference",propOrder={"address","any"})
025: public class EndpointReference {
026:
027: @XmlElement(name="Address",namespace="http://www.w3.org/2005/08/addressing")
028: protected AttributedURI address;
029: @XmlAnyElement(lax=true)
030: protected List<Object> any;
031: @XmlAnyAttribute
032: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
033:
034: /**
035: * Gets the value of the address property.
036: *
037: * @return
038: * possible object is
039: * {@link AttributedURI }
040: *
041: */
042: public AttributedURI getAddress() {
043: return address;
044: }
045:
046: /**
047: * Sets the value of the address property.
048: *
049: * @param value
050: * allowed object is
051: * {@link AttributedURI }
052: *
053: */
054: public void setAddress(AttributedURI value) {
055: this .address = value;
056: }
057:
058: /**
059: * Gets the value of the any property.
060: *
061: * <p>
062: * This accessor method returns a reference to the live list,
063: * not a snapshot. Therefore any modification you make to the
064: * returned list will be present inside the JAXB object.
065: * This is why there is not a <CODE>set</CODE> method for the any property.
066: *
067: * <p>
068: * For example, to add a new item, do as follows:
069: * <pre>
070: * getAny().add(newItem);
071: * </pre>
072: *
073: *
074: * <p>
075: * Objects of the following type(s) are allowed in the list
076: * {@link Element }
077: * {@link Object }
078: *
079: *
080: */
081: public List<Object> getAny() {
082: if (any == null) {
083: any = new ArrayList<Object>();
084: }
085: return this .any;
086: }
087:
088: /**
089: * Gets a map that contains attributes that aren't bound to any typed property on this class.
090: *
091: * <p>
092: * the map is keyed by the name of the attribute and
093: * the value is the string value of the attribute.
094: *
095: * the map returned by this method is live, and you can add new attribute
096: * by updating the map directly. Because of this design, there's no setter.
097: *
098: *
099: * @return
100: * always non-null
101: */
102: public Map<QName, String> getOtherAttributes() {
103: return otherAttributes;
104: }
105:
106: }
|