net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee
Class HandlerChainType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.HandlerChainType
All Implemented Interfaces:
Serializable, Cloneable

public class HandlerChainType
extends Object
implements Serializable, Cloneable

The handler-chain element defines the handlerchain. Handlerchain can be defined such that the handlers in the handlerchain operate,all ports of a service, on a specific port or on a list of protocol-bindings. The choice of elements service-name-pattern, port-name-pattern and protocol-bindings are used to specify whether the handlers in handler-chain are for a service, port or protocol binding. If none of these choices are specified with the handler-chain element then the handlers specified in the handler-chain will be applied on everything.

Java class for handler-chainType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="handler-chainType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice minOccurs="0">
           <element name="service-name-pattern" type="{http://java.sun.com/xml/ns/javaee}qname-pattern"/>
           <element name="port-name-pattern" type="{http://java.sun.com/xml/ns/javaee}qname-pattern"/>
           <element name="protocol-bindings" type="{http://java.sun.com/xml/ns/javaee}protocol-bindingListType"/>
         </choice>
         <element name="handler" type="{http://java.sun.com/xml/ns/javaee}port-component_handlerType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  PortComponentHandlerType[] handler
           
protected  String id
           
protected  String portNamePattern
           
protected  String[] protocolBindings
           
protected  String serviceNamePattern
           
 
Constructor Summary
HandlerChainType()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.HandlerChainType instance.
HandlerChainType(HandlerChainType o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.HandlerChainType instance by copying a given instance.
 
Method Summary
 HandlerChainType clone()
          Creates and returns a copy of this object.
 PortComponentHandlerType[] getHandler()
           
 PortComponentHandlerType getHandler(int idx)
           
 int getHandlerLength()
           
 String getId()
          Gets the value of the id property.
 String getPortNamePattern()
          Gets the value of the portNamePattern property.
 String[] getProtocolBindings()
           
 String getProtocolBindings(int idx)
           
 int getProtocolBindingsLength()
           
 String getServiceNamePattern()
          Gets the value of the serviceNamePattern property.
 PortComponentHandlerType setHandler(int idx, PortComponentHandlerType value)
           
 void setHandler(PortComponentHandlerType[] values)
           
 void setId(String value)
          Sets the value of the id property.
 void setPortNamePattern(String value)
          Sets the value of the portNamePattern property.
 String setProtocolBindings(int idx, String value)
           
 void setProtocolBindings(String[] values)
           
 void setServiceNamePattern(String value)
          Sets the value of the serviceNamePattern property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceNamePattern

protected String serviceNamePattern

portNamePattern

protected String portNamePattern

protocolBindings

protected String[] protocolBindings

handler

protected PortComponentHandlerType[] handler

id

protected String id
Constructor Detail

HandlerChainType

public HandlerChainType()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.HandlerChainType instance.


HandlerChainType

public HandlerChainType(HandlerChainType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.HandlerChainType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getServiceNamePattern

public String getServiceNamePattern()
Gets the value of the serviceNamePattern property.

Returns:
possible object is String

setServiceNamePattern

public void setServiceNamePattern(String value)
Sets the value of the serviceNamePattern property.

Parameters:
value - allowed object is String

getPortNamePattern

public String getPortNamePattern()
Gets the value of the portNamePattern property.

Returns:
possible object is String

setPortNamePattern

public void setPortNamePattern(String value)
Sets the value of the portNamePattern property.

Parameters:
value - allowed object is String

getProtocolBindings

public String[] getProtocolBindings()
Returns:
array of String

getProtocolBindings

public String getProtocolBindings(int idx)
Returns:
one of String

getProtocolBindingsLength

public int getProtocolBindingsLength()

setProtocolBindings

public void setProtocolBindings(String[] values)
Parameters:
values - allowed objects are String

setProtocolBindings

public String setProtocolBindings(int idx,
                                  String value)
Parameters:
value - allowed object is String

getHandler

public PortComponentHandlerType[] getHandler()
Returns:
array of PortComponentHandlerType

getHandler

public PortComponentHandlerType getHandler(int idx)
Returns:
one of PortComponentHandlerType

getHandlerLength

public int getHandlerLength()

setHandler

public void setHandler(PortComponentHandlerType[] values)
Parameters:
values - allowed objects are PortComponentHandlerType

setHandler

public PortComponentHandlerType setHandler(int idx,
                                           PortComponentHandlerType value)
Parameters:
value - allowed object is PortComponentHandlerType

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

clone

public HandlerChainType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.