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.void
Set the language attribute for the abstract.void
Set the documentation text string.toString()
String representation of this object.protected String
toXMLString
(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 Details
-
lang
Language setting. -
text
Text.
-
-
Constructor Details
-
WSILElementWithTextImpl
public WSILElementWithTextImpl()
-
-
Method Details
-
setLang
Set the language attribute for the abstract.- Specified by:
setLang
in interfaceWSILElementWithText
- Parameters:
the
- language type for this abstract.
-
getLang
Get the language attribute for the abstract.- Specified by:
getLang
in interfaceWSILElementWithText
- Returns:
- Returns the language type for this abstract.
-
setText
Set the documentation text string.- Specified by:
setText
in interfaceWSILElementWithText
- Parameters:
text
- the documentation text string
-
getText
Get the abstract text string.- Specified by:
getText
in interfaceWSILElementWithText
- Returns:
- Returns the abstract as a text string.
-
toString
String representation of this object. -
toXMLString
XML string representation of this object.
-