|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ServiceNameType.java | 0% | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
//
|
|
| 2 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b11-EA
|
|
| 3 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
|
| 4 |
// Any modifications to this file will be lost upon recompilation of the source schema.
|
|
| 5 |
// Generated on: 2005.05.06 at 02:17:10 BST
|
|
| 6 |
//
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
package org.codehaus.activesoap.policy.addressing;
|
|
| 10 |
|
|
| 11 |
import javax.xml.namespace.NamespaceContext;
|
|
| 12 |
import javax.xml.namespace.QName;
|
|
| 13 |
import javax.xml.stream.XMLStreamException;
|
|
| 14 |
import javax.xml.stream.XMLStreamWriter;
|
|
| 15 |
|
|
| 16 |
/**
|
|
| 17 |
* @XmlAccessorType(value = AccessType.FIELD)
|
|
| 18 |
* @XmlType(name = "ServiceNameType", namespace = "http://schemas.xmlsoap.org/ws/2003/03/addressing")
|
|
| 19 |
*/
|
|
| 20 |
public class ServiceNameType extends AttributedQName { |
|
| 21 |
|
|
| 22 |
public static final QName PORT_NAME = new QName("RelationshipType"); |
|
| 23 |
|
|
| 24 |
/** @XmlAttribute(name = "PortName", namespace = "") */
|
|
| 25 |
/**
|
|
| 26 |
* @XmlJavaTypeAdapter(value = CollapsedStringAdapter.class)
|
|
| 27 |
*/
|
|
| 28 |
protected String portName;
|
|
| 29 |
|
|
| 30 |
/**
|
|
| 31 |
* Gets the value of the portName property.
|
|
| 32 |
*
|
|
| 33 |
* @return possible object is
|
|
| 34 |
* {@link String}
|
|
| 35 |
*/
|
|
| 36 | 0 |
public String getPortName() {
|
| 37 | 0 |
return portName;
|
| 38 |
} |
|
| 39 |
|
|
| 40 |
/**
|
|
| 41 |
* Sets the value of the portName property.
|
|
| 42 |
*
|
|
| 43 |
* @param value allowed object is
|
|
| 44 |
* {@link String}
|
|
| 45 |
*/
|
|
| 46 | 0 |
public void setPortName(String value) { |
| 47 | 0 |
this.portName = value;
|
| 48 |
} |
|
| 49 |
|
|
| 50 |
|
|
| 51 | 0 |
public void putAttributeValue(NamespaceContext namespaceContext, QName attributeName, String attributeValue) { |
| 52 | 0 |
if (attributeName.equals(PORT_NAME)) {
|
| 53 | 0 |
setPortName(attributeValue); |
| 54 |
} |
|
| 55 |
else {
|
|
| 56 | 0 |
super.putAttributeValue(namespaceContext, attributeName, attributeValue);
|
| 57 |
} |
|
| 58 |
} |
|
| 59 |
|
|
| 60 |
|
|
| 61 | 0 |
public void writeAttributes(XMLStreamWriter out) throws XMLStreamException { |
| 62 | 0 |
if (portName != null) { |
| 63 | 0 |
out.writeAttribute(PORT_NAME.getPrefix(), PORT_NAME.getNamespaceURI(), PORT_NAME.getLocalPart(), portName); |
| 64 |
} |
|
| 65 | 0 |
super.writeAttributes(out);
|
| 66 |
} |
|
| 67 |
} |
|
| 68 |
|
|
||||||||||