org.apache.wsil.impl
Class WSILElementWithTextImpl

java.lang.Object
  extended by org.apache.wsil.impl.WSILElementWithTextImpl
All Implemented Interfaces:
java.io.Serializable, WSILElement, WSILElementWithText
Direct Known Subclasses:
AbstractImpl, ServiceNameImpl

public abstract class WSILElementWithTextImpl
extends java.lang.Object
implements WSILElementWithText

This class is the base class for elements that have a text node.

Version:
1.0
See Also:
Serialized Form

Field Summary
protected  java.lang.String lang
          Language setting.
protected  java.lang.String text
          Text.
 
Constructor Summary
WSILElementWithTextImpl()
           
 
Method Summary
 java.lang.String getLang()
          Get the language attribute for the abstract.
 java.lang.String getText()
          Get the abstract text string.
 void setLang(java.lang.String lang)
          Set the language attribute for the abstract.
 void setText(java.lang.String text)
          Set the documentation text string.
 java.lang.String toString()
          String representation of this object.
protected  java.lang.String toXMLString(java.lang.String elementName)
          XML string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.wsil.WSILElement
toXMLString
 

Field Detail

lang

protected java.lang.String lang
Language setting.


text

protected java.lang.String text
Text.

Constructor Detail

WSILElementWithTextImpl

public WSILElementWithTextImpl()
Method Detail

setLang

public void setLang(java.lang.String lang)
Set the language attribute for the abstract.

Specified by:
setLang in interface WSILElementWithText
Parameters:
the - language type for this abstract.

getLang

public java.lang.String getLang()
Get the language attribute for the abstract.

Specified by:
getLang in interface WSILElementWithText
Returns:
Returns the language type for this abstract.

setText

public void setText(java.lang.String text)
Set the documentation text string.

Specified by:
setText in interface WSILElementWithText
Parameters:
text - the documentation text string

getText

public java.lang.String getText()
Get the abstract text string.

Specified by:
getText in interface WSILElementWithText
Returns:
Returns the abstract as a text string.

toString

public java.lang.String toString()
String representation of this object.

Overrides:
toString in class java.lang.Object

toXMLString

protected java.lang.String toXMLString(java.lang.String elementName)
XML string representation of this object.



Copyright ? 2001 International Business Machines Corporation. All Rights Reserved.