com.sun.xml.messaging.ebxml
Class Service
java.lang.Object
|
+--com.sun.xml.messaging.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 |
Service
public Service(java.lang.String data)
- Creates a Service object with the given data.
- Parameters:
String
- - the data for the service object.
Service
public Service(java.lang.String data,
java.lang.String type)
- Creates a Service object with the data and type information.
- Parameters:
String
- - the data for the Service.String
- - the type of Service.
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.