com.sun.xml.messaging.jaxm.ebxml
Class Description
java.lang.Object
|
+--com.sun.xml.messaging.jaxm.ebxml.Description
- public class Description
- extends java.lang.Object
This class represents the description field in the ebxml headers.
Constructor Summary |
Description(java.lang.String lang)
Create a description object passing it the language to be used for
description. |
Method Summary |
java.lang.String |
getLang()
Returns the language of the description. |
java.lang.String |
getText()
Returns the text of the description object. |
void |
setText(java.lang.String text)
Set the content of the description. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Description
public Description(java.lang.String lang)
- Create a description object passing it the language to be used for
description.
- Parameters:
String
- the language for the content.
setText
public void setText(java.lang.String text)
- Set the content of the description.
- Parameters:
String
- the content.
getText
public java.lang.String getText()
- Returns the text of the description object.
- Returns:
- String - the text of the description.
getLang
public java.lang.String getLang()
- Returns the language of the description.
- Returns:
- String the language being used.