Class HandlerType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.HandlerType
-
- All Implemented Interfaces:
org.glassfish.jaxb.core.Locatable
public class HandlerType extends Object implements org.glassfish.jaxb.core.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>descriptionprotected List<DisplayNameType>displayNameprotected FullyQualifiedClassTypehandlerClassprotected StringhandlerNameprotected List<IconType>iconprotected Stringidprotected List<ParamValueType>initParamprotected Locatorlocatorprotected List<String>portNameprotected List<XsdQNameType>soapHeaderprotected 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.FullyQualifiedClassTypegetHandlerClass()Gets the value of the handlerClass property.StringgetHandlerName()Gets the value of the handlerName property.List<IconType>getIcon()Gets the value of the icon property.StringgetId()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.voidsetHandlerClass(FullyQualifiedClassType value)Sets the value of the handlerClass property.voidsetHandlerName(String value)Sets the value of the handlerName property.voidsetId(String value)Sets the value of the id property.voidsetSourceLocation(Locator newLocator)LocatorsourceLocation()
-
-
-
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
setmethod 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
setmethod 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
setmethod 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
setmethod 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
setmethod 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
setmethod 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
setmethod 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:
sourceLocationin interfaceorg.glassfish.jaxb.core.Locatable
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-