Class HandlerType

java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.HandlerType
All Implemented Interfaces:
Locatable

public class HandlerType extends Object implements 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-ref

Java 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 Details

  • Constructor Details

    • HandlerType

      public HandlerType()
  • Method Details

    • 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 is String
    • 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 is FullyQualifiedClassType
    • 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

    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • sourceLocation

      public Locator sourceLocation()
      Specified by:
      sourceLocation in interface Locatable
      Returns:
      null if the location information is unavaiable, or otherwise return a immutable valid Locator object.
    • setSourceLocation

      public void setSourceLocation(Locator newLocator)