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.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
-
-
-
-
Method Detail
-
setLang
public void setLang(java.lang.String lang)
Set the language attribute for the abstract.- Specified by:
setLang
in interfaceWSILElementWithText
- Parameters:
the
- language type for this abstract.
-
getLang
public java.lang.String getLang()
Get the language attribute for the abstract.- Specified by:
getLang
in interfaceWSILElementWithText
- 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 interfaceWSILElementWithText
- Parameters:
text
- the documentation text string
-
getText
public java.lang.String getText()
Get the abstract text string.- Specified by:
getText
in interfaceWSILElementWithText
- Returns:
- Returns the abstract as a text string.
-
toString
public java.lang.String toString()
String representation of this object.- Overrides:
toString
in classjava.lang.Object
-
toXMLString
protected java.lang.String toXMLString(java.lang.String elementName)
XML string representation of this object.
-
-