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