Class HandlerType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.HandlerType
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
public class HandlerType extends Object implements com.sun.xml.bind.Locatable
Declares the handler for a port-component, service-ref. Handlers can access the init-param name/value pairs using the HandlerInfo interface. Used in: port-component, service-refJava class for handlerType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="handlerType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="handler-name" type="{http://java.sun.com/xml/ns/javaee}string"/> <element name="handler-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/> <element name="init-param" type="{http://java.sun.com/xml/ns/javaee}param-valueType" maxOccurs="unbounded" minOccurs="0"/> <element name="soap-header" type="{http://java.sun.com/xml/ns/javaee}xsdQNameType" maxOccurs="unbounded" minOccurs="0"/> <element name="soap-role" type="{http://java.sun.com/xml/ns/javaee}string" maxOccurs="unbounded" minOccurs="0"/> <element name="port-name" type="{http://java.sun.com/xml/ns/javaee}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DescriptionType>
description
protected List<DisplayNameType>
displayName
protected FullyQualifiedClassType
handlerClass
protected String
handlerName
protected List<IconType>
icon
protected String
id
protected List<ParamValueType>
initParam
protected Locator
locator
protected List<String>
portName
protected List<XsdQNameType>
soapHeader
protected List<String>
soapRole
-
Constructor Summary
Constructors Constructor Description HandlerType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DescriptionType>
getDescription()
Gets the value of the description property.List<DisplayNameType>
getDisplayName()
Gets the value of the displayName property.FullyQualifiedClassType
getHandlerClass()
Gets the value of the handlerClass property.String
getHandlerName()
Gets the value of the handlerName property.List<IconType>
getIcon()
Gets the value of the icon property.String
getId()
Gets the value of the id property.List<ParamValueType>
getInitParam()
Gets the value of the initParam property.List<String>
getPortName()
Gets the value of the portName property.List<XsdQNameType>
getSoapHeader()
Gets the value of the soapHeader property.List<String>
getSoapRole()
Gets the value of the soapRole property.void
setHandlerClass(FullyQualifiedClassType value)
Sets the value of the handlerClass property.void
setHandlerName(String value)
Sets the value of the handlerName property.void
setId(String value)
Sets the value of the id property.void
setSourceLocation(Locator newLocator)
Locator
sourceLocation()
-
-
-
Field Detail
-
description
protected List<DescriptionType> description
-
displayName
protected List<DisplayNameType> displayName
-
handlerName
protected String handlerName
-
handlerClass
protected FullyQualifiedClassType handlerClass
-
initParam
protected List<ParamValueType> initParam
-
soapHeader
protected List<XsdQNameType> soapHeader
-
id
protected String id
-
locator
protected Locator locator
-
-
Method Detail
-
getDescription
public List<DescriptionType> getDescription()
Gets the value of the description property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the description property.For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
-
getDisplayName
public List<DisplayNameType> getDisplayName()
Gets the value of the displayName property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the displayName property.For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
-
getIcon
public List<IconType> getIcon()
Gets the value of the icon property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the icon property.For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
-
getHandlerName
public String getHandlerName()
Gets the value of the handlerName property.- Returns:
- possible object is
String
-
setHandlerName
public void setHandlerName(String value)
Sets the value of the handlerName property.- Parameters:
value
- allowed object isString
-
getHandlerClass
public FullyQualifiedClassType getHandlerClass()
Gets the value of the handlerClass property.- Returns:
- possible object is
FullyQualifiedClassType
-
setHandlerClass
public void setHandlerClass(FullyQualifiedClassType value)
Sets the value of the handlerClass property.- Parameters:
value
- allowed object isFullyQualifiedClassType
-
getInitParam
public List<ParamValueType> getInitParam()
Gets the value of the initParam property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the initParam property.For example, to add a new item, do as follows:
getInitParam().add(newItem);
Objects of the following type(s) are allowed in the list
ParamValueType
-
getSoapHeader
public List<XsdQNameType> getSoapHeader()
Gets the value of the soapHeader property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the soapHeader property.For example, to add a new item, do as follows:
getSoapHeader().add(newItem);
Objects of the following type(s) are allowed in the list
XsdQNameType
-
getSoapRole
public List<String> getSoapRole()
Gets the value of the soapRole property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the soapRole property.For example, to add a new item, do as follows:
getSoapRole().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
getPortName
public List<String> getPortName()
Gets the value of the portName property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the portName property.For example, to add a new item, do as follows:
getPortName().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-