com.sun.xml.messaging.jaxm.ebxml
Class Service

java.lang.Object
  extended bycom.sun.xml.messaging.jaxm.ebxml.Service

public class Service
extends java.lang.Object

This class represents the Service element that is part of the SOAPHeader extensions for ebxml.


Constructor Summary
Service(java.lang.String data)
          Creates a Service object with the given data.
Service(java.lang.String data, java.lang.String type)
          Creates a Service object with the data and type information.
 
Method Summary
 java.lang.String getData()
          Returns the data for the service.
 java.lang.String getType()
          Returns the type of service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service(java.lang.String data)
Creates a Service object with the given data.


Service

public Service(java.lang.String data,
               java.lang.String type)
Creates a Service object with the data and type information.

Method Detail

getData

public java.lang.String getData()
Returns the data for the service.

Returns:
String - the data.

getType

public java.lang.String getType()
Returns the type of service.

Returns:
String - the type of service.