Package org.apache.wsil.impl
Class WSILElementWithTextImpl
java.lang.Object
org.apache.wsil.impl.WSILElementWithTextImpl
- All Implemented Interfaces:
Serializable,WSILElement,WSILElementWithText
- Direct Known Subclasses:
AbstractImpl,ServiceNameImpl
This class is the base class for elements that have a text node.
- Version:
- 1.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLang()Get the language attribute for the abstract.getText()Get the abstract text string.voidSet the language attribute for the abstract.voidSet the documentation text string.toString()String representation of this object.protected StringtoXMLString(String elementName) XML string representation of this object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.wsil.WSILElement
toXMLString
-
Field Details
-
lang
Language setting. -
text
Text.
-
-
Constructor Details
-
WSILElementWithTextImpl
public WSILElementWithTextImpl()
-
-
Method Details
-
setLang
Set the language attribute for the abstract.- Specified by:
setLangin interfaceWSILElementWithText- Parameters:
the- language type for this abstract.
-
getLang
Get the language attribute for the abstract.- Specified by:
getLangin interfaceWSILElementWithText- Returns:
- Returns the language type for this abstract.
-
setText
Set the documentation text string.- Specified by:
setTextin interfaceWSILElementWithText- Parameters:
text- the documentation text string
-
getText
Get the abstract text string.- Specified by:
getTextin interfaceWSILElementWithText- Returns:
- Returns the abstract as a text string.
-
toString
String representation of this object. -
toXMLString
XML string representation of this object.
-