001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
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.10.31 at 10:25:50 AM GMT+08:00
006: //
007:
008: package org.apache.cxf.jaxws.javaee;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlID;
017: import javax.xml.bind.annotation.XmlList;
018: import javax.xml.bind.annotation.XmlType;
019: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
020: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
021:
022: /**
023: *
024: *
025: * The handler-chain element defines the handlerchain.
026: * Handlerchain can be defined such that the handlers in the
027: * handlerchain operate,all ports of a service, on a specific
028: * port or on a list of protocol-bindings. The choice of elements
029: * service-name-pattern, port-name-pattern and protocol-bindings
030: * are used to specify whether the handlers in handler-chain are
031: * for a service, port or protocol binding. If none of these
032: * choices are specified with the handler-chain element then the
033: * handlers specified in the handler-chain will be applied on
034: * everything.
035: *
036: *
037: *
038: * <p>Java class for handler-chainType complex type.
039: *
040: * <p>The following schema fragment specifies the expected content contained within this class.
041: *
042: * <pre>
043: * <complexType name="handler-chainType">
044: * <complexContent>
045: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
046: * <sequence>
047: * <choice minOccurs="0">
048: * <element name="service-name-pattern" type="{http://java.sun.com/xml/ns/javaee}qname-pattern"/>
049: * <element name="port-name-pattern" type="{http://java.sun.com/xml/ns/javaee}qname-pattern"/>
050: * <element name="protocol-bindings" type="{http://java.sun.com/xml/ns/javaee}protocol-bindingListType"/>
051: * </choice>
052: * <element name="handler" type="{http://java.sun.com/xml/ns/javaee}port-component_handlerType" maxOccurs="unbounded"/>
053: * </sequence>
054: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
055: * </restriction>
056: * </complexContent>
057: * </complexType>
058: * </pre>
059: *
060: *
061: */
062: @XmlAccessorType(XmlAccessType.FIELD)
063: @XmlType(name="handler-chainType",propOrder={"serviceNamePattern","portNamePattern","protocolBindings","handler"})
064: public class HandlerChainType {
065:
066: @XmlElement(name="service-name-pattern")
067: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
068: protected java.lang.String serviceNamePattern;
069: @XmlElement(name="port-name-pattern")
070: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
071: protected java.lang.String portNamePattern;
072: @XmlList
073: @XmlElement(name="protocol-bindings")
074: protected List<java.lang.String> protocolBindings;
075: @XmlElement(required=true)
076: protected List<PortComponentHandlerType> handler;
077: @XmlAttribute
078: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
079: @XmlID
080: protected java.lang.String id;
081:
082: /**
083: * Gets the value of the serviceNamePattern property.
084: *
085: * @return
086: * possible object is
087: * {@link java.lang.String }
088: *
089: */
090: public java.lang.String getServiceNamePattern() {
091: return serviceNamePattern;
092: }
093:
094: /**
095: * Sets the value of the serviceNamePattern property.
096: *
097: * @param value
098: * allowed object is
099: * {@link java.lang.String }
100: *
101: */
102: public void setServiceNamePattern(java.lang.String value) {
103: this .serviceNamePattern = value;
104: }
105:
106: /**
107: * Gets the value of the portNamePattern property.
108: *
109: * @return
110: * possible object is
111: * {@link java.lang.String }
112: *
113: */
114: public java.lang.String getPortNamePattern() {
115: return portNamePattern;
116: }
117:
118: /**
119: * Sets the value of the portNamePattern property.
120: *
121: * @param value
122: * allowed object is
123: * {@link java.lang.String }
124: *
125: */
126: public void setPortNamePattern(java.lang.String value) {
127: this .portNamePattern = value;
128: }
129:
130: /**
131: * Gets the value of the protocolBindings property.
132: *
133: * <p>
134: * This accessor method returns a reference to the live list,
135: * not a snapshot. Therefore any modification you make to the
136: * returned list will be present inside the JAXB object.
137: * This is why there is not a <CODE>set</CODE> method for the protocolBindings property.
138: *
139: * <p>
140: * For example, to add a new item, do as follows:
141: * <pre>
142: * getProtocolBindings().add(newItem);
143: * </pre>
144: *
145: *
146: * <p>
147: * Objects of the following type(s) are allowed in the list
148: * {@link java.lang.String }
149: *
150: *
151: */
152: public List<java.lang.String> getProtocolBindings() {
153: if (protocolBindings == null) {
154: protocolBindings = new ArrayList<java.lang.String>();
155: }
156: return this .protocolBindings;
157: }
158:
159: /**
160: * Gets the value of the handler property.
161: *
162: * <p>
163: * This accessor method returns a reference to the live list,
164: * not a snapshot. Therefore any modification you make to the
165: * returned list will be present inside the JAXB object.
166: * This is why there is not a <CODE>set</CODE> method for the handler property.
167: *
168: * <p>
169: * For example, to add a new item, do as follows:
170: * <pre>
171: * getHandler().add(newItem);
172: * </pre>
173: *
174: *
175: * <p>
176: * Objects of the following type(s) are allowed in the list
177: * {@link PortComponentHandlerType }
178: *
179: *
180: */
181: public List<PortComponentHandlerType> getHandler() {
182: if (handler == null) {
183: handler = new ArrayList<PortComponentHandlerType>();
184: }
185: return this .handler;
186: }
187:
188: /**
189: * Gets the value of the id property.
190: *
191: * @return
192: * possible object is
193: * {@link java.lang.String }
194: *
195: */
196: public java.lang.String getId() {
197: return id;
198: }
199:
200: /**
201: * Sets the value of the id property.
202: *
203: * @param value
204: * allowed object is
205: * {@link java.lang.String }
206: *
207: */
208: public void setId(java.lang.String value) {
209: this.id = value;
210: }
211:
212: }
|