Class WSILElementWithTextImpl

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

public abstract class WSILElementWithTextImpl extends Object implements WSILElementWithText
This class is the base class for elements that have a text node.
Version:
1.0
See Also:
  • Field Details

    • lang

      protected String lang
      Language setting.
    • text

      protected String text
      Text.
  • Constructor Details

    • WSILElementWithTextImpl

      public WSILElementWithTextImpl()
  • Method Details

    • setLang

      public void setLang(String lang)
      Set the language attribute for the abstract.
      Specified by:
      setLang in interface WSILElementWithText
      Parameters:
      the - language type for this abstract.
    • getLang

      public 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(String text)
      Set the documentation text string.
      Specified by:
      setText in interface WSILElementWithText
      Parameters:
      text - the documentation text string
    • getText

      public String getText()
      Get the abstract text string.
      Specified by:
      getText in interface WSILElementWithText
      Returns:
      Returns the abstract as a text string.
    • toString

      public String toString()
      String representation of this object.
      Overrides:
      toString in class Object
    • toXMLString

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