Class ComposedElement

java.lang.Object
overit.geocall.ecs.ComposedElement
All Implemented Interfaces:
org.apache.ecs.Element, org.apache.ecs.ElementRegistry
Direct Known Subclasses:
Depiction, Icon, RowMessageElement, TaskMessageElement

public abstract class ComposedElement extends Object implements org.apache.ecs.Element
Abstract class used to define a composed Element
  • Field Details

    • _pw

      protected boolean _pw
    • _pwOut

      protected transient PrintWriter _pwOut
    • _osOut

      protected transient OutputStream _osOut
  • Constructor Details

    • ComposedElement

      public ComposedElement()
      Creates a new ComposedElement
  • Method Details

    • getPrettyPrint

      public boolean getPrettyPrint()
      Specified by:
      getPrettyPrint in interface org.apache.ecs.Element
    • setPrettyPrint

      public org.apache.ecs.Element setPrettyPrint(boolean pretty_print)
      Specified by:
      setPrettyPrint in interface org.apache.ecs.Element
    • setFilterState

      public org.apache.ecs.Element setFilterState(boolean filter_state)
      Specified by:
      setFilterState in interface org.apache.ecs.Element
    • getFilterState

      public boolean getFilterState()
      Specified by:
      getFilterState in interface org.apache.ecs.Element
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface org.apache.ecs.Element
    • setCase

      public void setCase(int case_type)
      Specified by:
      setCase in interface org.apache.ecs.Element
    • getCase

      public int getCase()
      Specified by:
      getCase in interface org.apache.ecs.Element
    • setElementType

      public void setElementType(String element_type)
      Specified by:
      setElementType in interface org.apache.ecs.Element
    • getElementType

      public String getElementType()
      Specified by:
      getElementType in interface org.apache.ecs.Element
    • setCodeSet

      public void setCodeSet(String codeset)
      Sets the CodeSet
      Parameters:
      codeset - String containing the codeset
    • getCodeSet

      public String getCodeSet()
      Returns the CodeSet
      Returns:
      the codeset
    • setNeedClosingTag

      public void setNeedClosingTag(boolean close)
      Specified by:
      setNeedClosingTag in interface org.apache.ecs.Element
    • getNeedClosingTag

      public boolean getNeedClosingTag()
      Specified by:
      getNeedClosingTag in interface org.apache.ecs.Element
    • getNeedLineBreak

      public boolean getNeedLineBreak()
      Specified by:
      getNeedLineBreak in interface org.apache.ecs.Element
    • setTagPosition

      public void setTagPosition(int position)
      Specified by:
      setTagPosition in interface org.apache.ecs.Element
    • getTagPosition

      public int getTagPosition()
      Specified by:
      getTagPosition in interface org.apache.ecs.Element
    • setBeginModifier

      public org.apache.ecs.Element setBeginModifier(char modifier)
    • setBeginStartModifier

      public org.apache.ecs.Element setBeginStartModifier(char modifier)
      Specified by:
      setBeginStartModifier in interface org.apache.ecs.Element
    • setBeginEndModifier

      public org.apache.ecs.Element setBeginEndModifier(char modifier)
      Specified by:
      setBeginEndModifier in interface org.apache.ecs.Element
    • setBeginModifier

      public org.apache.ecs.Element setBeginModifier(char start_modifier, char end_modifier)
    • getBeginStartModifier

      public char getBeginStartModifier()
      Specified by:
      getBeginStartModifier in interface org.apache.ecs.Element
    • getBeginEndModifier

      public char getBeginEndModifier()
      Specified by:
      getBeginEndModifier in interface org.apache.ecs.Element
    • removeBeginStartModifier

      public org.apache.ecs.Element removeBeginStartModifier()
    • removeBeginEndModifier

      public org.apache.ecs.Element removeBeginEndModifier()
    • getEndStartModifierDefined

      protected boolean getEndStartModifierDefined()
    • getEndEndModifierDefined

      protected boolean getEndEndModifierDefined()
    • setEndModifier

      public org.apache.ecs.Element setEndModifier(char modifier)
    • setEndStartModifier

      public org.apache.ecs.Element setEndStartModifier(char modifier)
      Specified by:
      setEndStartModifier in interface org.apache.ecs.Element
    • setEndEndModifier

      public org.apache.ecs.Element setEndEndModifier(char modifier)
      Specified by:
      setEndEndModifier in interface org.apache.ecs.Element
    • setEndModifier

      public org.apache.ecs.Element setEndModifier(char start_modifier, char end_modifier)
    • getEndStartModifier

      public char getEndStartModifier()
      Specified by:
      getEndStartModifier in interface org.apache.ecs.Element
    • getEndEndModifier

      public char getEndEndModifier()
      Specified by:
      getEndEndModifier in interface org.apache.ecs.Element
    • removeEndStartModifier

      public org.apache.ecs.Element removeEndStartModifier()
    • removeEndEndModifier

      public org.apache.ecs.Element removeEndEndModifier()
    • getBeginStartModifierDefined

      protected boolean getBeginStartModifierDefined()
    • getBeginEndModifierDefined

      protected boolean getBeginEndModifierDefined()
    • setStartTagChar

      public void setStartTagChar(char start_tag)
      Specified by:
      setStartTagChar in interface org.apache.ecs.Element
    • getStartTagChar

      public char getStartTagChar()
      Specified by:
      getStartTagChar in interface org.apache.ecs.Element
    • setEndTagChar

      public void setEndTagChar(char end_tag)
      Specified by:
      setEndTagChar in interface org.apache.ecs.Element
    • getEndTagChar

      public char getEndTagChar()
      Specified by:
      getEndTagChar in interface org.apache.ecs.Element
    • getTagText

      public String getTagText()
    • setTagText

      public org.apache.ecs.Element setTagText(String text)
    • createStartTag

      public String createStartTag()
    • createEndTag

      public String createEndTag()
    • setTabLevel

      public void setTabLevel(int tabLevel)
      Specified by:
      setTabLevel in interface org.apache.ecs.Element
    • getTabLevel

      public int getTabLevel()
      Specified by:
      getTabLevel in interface org.apache.ecs.Element
    • removeElementFromRegistry

      public org.apache.ecs.Element removeElementFromRegistry(String element)
      Specified by:
      removeElementFromRegistry in interface org.apache.ecs.ElementRegistry
    • registryHasElement

      public boolean registryHasElement(String element)
      Specified by:
      registryHasElement in interface org.apache.ecs.ElementRegistry
    • addElementToRegistry

      public org.apache.ecs.Element addElementToRegistry(String element)
      Specified by:
      addElementToRegistry in interface org.apache.ecs.ElementRegistry
    • removeElementFromRegistry

      public org.apache.ecs.Element removeElementFromRegistry(org.apache.ecs.Element element)
      Specified by:
      removeElementFromRegistry in interface org.apache.ecs.ElementRegistry
    • registryHasElement

      public boolean registryHasElement(org.apache.ecs.Element element)
      Specified by:
      registryHasElement in interface org.apache.ecs.ElementRegistry
    • addElementToRegistry

      public org.apache.ecs.Element addElementToRegistry(org.apache.ecs.Element element)
      Specified by:
      addElementToRegistry in interface org.apache.ecs.ElementRegistry
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • toString

      public final String toString(String codeset)
    • output

      public final void output(OutputStream out)
      Specified by:
      output in interface org.apache.ecs.Element
    • output

      public final void output(PrintWriter out)
      Specified by:
      output in interface org.apache.ecs.Element
    • out

      protected void out(String s)
    • outAttribute

      protected void outAttribute(String name, String value)
    • outListAttribute

      protected void outListAttribute(String name, String sep, String... values)
    • outListAttribute

      protected void outListAttribute(String name, String sep, List<String> values)
    • out

      protected void out(org.apache.ecs.Element e)
    • outOn

      protected void outOn(boolean cond, String s)
    • outOut

      protected void outOut(boolean cond, String s)
    • compose

      protected abstract void compose()