001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b11-EA 
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: 2005.05.06 at 02:17:10 BST 
006    //
007    
008    
009    package org.codehaus.activesoap.policy.addressing;
010    
011    import org.codehaus.activesoap.handler.stax.AnyAttribute;
012    import org.codehaus.activesoap.handler.stax.AnyElementMarshaler;
013    
014    import javax.xml.namespace.NamespaceContext;
015    import javax.xml.namespace.QName;
016    import javax.xml.stream.XMLStreamWriter;
017    import javax.xml.stream.XMLStreamException;
018    import java.util.HashMap;
019    import java.util.Map;
020    import java.util.Iterator;
021    
022    /**
023     * @XmlAccessorType(value = AccessType.FIELD)
024     * @XmlType(name = "AttributedURI", namespace = "http://schemas.xmlsoap.org/ws/2003/03/addressing")
025     */
026    public class AttributedURI extends AnyAttributeSupport {
027    
028        /**
029         * @XmlValue
030         */
031        protected String value;
032    
033        /**
034         * Gets the value of the value property.
035         *
036         * @return possible object is
037         *         {@link String}
038         */
039        public String getValue() {
040            return value;
041        }
042    
043        public AttributedURI() {
044        }
045    
046        public AttributedURI(String value) {
047            this.value = value;
048        }
049    
050        /**
051         * Sets the value of the value property.
052         *
053         * @param value allowed object is
054         *              {@link String}
055         */
056        public void setValue(String value) {
057            this.value = value;
058        }
059    
060        public String toString() {
061            return getClass().getName() + "('" + getValue() + "')";
062        }
063    
064        public void putValue(NamespaceContext namespaceContext, String value) {
065            setValue(value);
066        }
067    
068        public void writeContent(AnyElementMarshaler marshaler, XMLStreamWriter out) throws XMLStreamException {
069            if (value != null) {
070                out.writeCharacters(value);
071            }
072        }
073    
074    }