001
002 package org.oasis_open.docs.wsn.b_2;
003
004 import java.util.ArrayList;
005 import java.util.HashMap;
006 import java.util.List;
007 import java.util.Map;
008 import javax.xml.bind.annotation.XmlAccessType;
009 import javax.xml.bind.annotation.XmlAccessorType;
010 import javax.xml.bind.annotation.XmlAnyAttribute;
011 import javax.xml.bind.annotation.XmlAnyElement;
012 import javax.xml.bind.annotation.XmlAttribute;
013 import javax.xml.bind.annotation.XmlMixed;
014 import javax.xml.bind.annotation.XmlSchemaType;
015 import javax.xml.bind.annotation.XmlType;
016 import javax.xml.namespace.QName;
017 import org.w3c.dom.Element;
018
019
020 /**
021 * <p>Java class for TopicExpressionType complex type.
022 *
023 * <p>The following schema fragment specifies the expected content contained within this class.
024 *
025 * <pre>
026 * <complexType name="TopicExpressionType">
027 * <complexContent>
028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029 * <sequence>
030 * <any/>
031 * </sequence>
032 * <attribute name="Dialect" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
033 * </restriction>
034 * </complexContent>
035 * </complexType>
036 * </pre>
037 *
038 *
039 */
040 @XmlAccessorType(XmlAccessType.FIELD)
041 @XmlType(name = "TopicExpressionType", propOrder = {
042 "content"
043 })
044 public class TopicExpressionType {
045
046 @XmlMixed
047 @XmlAnyElement(lax = true)
048 protected List<Object> content;
049 @XmlAttribute(name = "Dialect", required = true)
050 @XmlSchemaType(name = "anyURI")
051 protected String dialect;
052 @XmlAnyAttribute
053 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
054
055 /**
056 * Gets the value of the content property.
057 *
058 * <p>
059 * This accessor method returns a reference to the live list,
060 * not a snapshot. Therefore any modification you make to the
061 * returned list will be present inside the JAXB object.
062 * This is why there is not a <CODE>set</CODE> method for the content property.
063 *
064 * <p>
065 * For example, to add a new item, do as follows:
066 * <pre>
067 * getContent().add(newItem);
068 * </pre>
069 *
070 *
071 * <p>
072 * Objects of the following type(s) are allowed in the list
073 * {@link String }
074 * {@link Object }
075 * {@link Element }
076 *
077 *
078 */
079 public List<Object> getContent() {
080 if (content == null) {
081 content = new ArrayList<Object>();
082 }
083 return this.content;
084 }
085
086 /**
087 * Gets the value of the dialect property.
088 *
089 * @return
090 * possible object is
091 * {@link String }
092 *
093 */
094 public String getDialect() {
095 return dialect;
096 }
097
098 /**
099 * Sets the value of the dialect property.
100 *
101 * @param value
102 * allowed object is
103 * {@link String }
104 *
105 */
106 public void setDialect(String value) {
107 this.dialect = value;
108 }
109
110 /**
111 * Gets a map that contains attributes that aren't bound to any typed property on this class.
112 *
113 * <p>
114 * the map is keyed by the name of the attribute and
115 * the value is the string value of the attribute.
116 *
117 * the map returned by this method is live, and you can add new attribute
118 * by updating the map directly. Because of this design, there's no setter.
119 *
120 *
121 * @return
122 * always non-null
123 */
124 public Map<QName, String> getOtherAttributes() {
125 return otherAttributes;
126 }
127
128 }