Package org.apache.wsil.impl
Class WSILElementWithTextImpl
- java.lang.Object
-
- 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
-
-
Constructor Summary
Constructors Constructor Description WSILElementWithTextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLang()Get the language attribute for the abstract.java.lang.StringgetText()Get the abstract text string.voidsetLang(java.lang.String lang)Set the language attribute for the abstract.voidsetText(java.lang.String text)Set the documentation text string.java.lang.StringtoString()String representation of this object.protected java.lang.StringtoXMLString(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
-
-
-
-
Method Detail
-
setLang
public void setLang(java.lang.String lang)
Set the language attribute for the abstract.- Specified by:
setLangin interfaceWSILElementWithText- Parameters:
the- language type for this abstract.
-
getLang
public java.lang.String getLang()
Get the language attribute for the abstract.- Specified by:
getLangin interfaceWSILElementWithText- Returns:
- Returns the language type for this abstract.
-
setText
public void setText(java.lang.String text)
Set the documentation text string.- Specified by:
setTextin interfaceWSILElementWithText- Parameters:
text- the documentation text string
-
getText
public java.lang.String getText()
Get the abstract text string.- Specified by:
getTextin interfaceWSILElementWithText- Returns:
- Returns the abstract as a text string.
-
toString
public java.lang.String toString()
String representation of this object.- Overrides:
toStringin classjava.lang.Object
-
toXMLString
protected java.lang.String toXMLString(java.lang.String elementName)
XML string representation of this object.
-
-