Package overit.geocall.ecs
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
Abstract class used to define a composed
Element-
Field Summary
FieldsFields inherited from interface org.apache.ecs.Element
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ecs.ElementaddElementToRegistry(String element) org.apache.ecs.ElementaddElementToRegistry(org.apache.ecs.Element element) protected abstract voidcompose()charprotected booleancharprotected booleanintgetCase()Returns the CodeSetcharprotected booleancharprotected booleancharbooleanbooleanbooleanbooleancharintintprotected voidprotected voidout(org.apache.ecs.Element e) protected voidoutAttribute(String name, String value) protected voidoutListAttribute(String name, String sep, String... values) protected voidoutListAttribute(String name, String sep, List<String> values) protected voidprotected voidfinal voidoutput(OutputStream out) final voidoutput(PrintWriter out) booleanregistryHasElement(String element) booleanregistryHasElement(org.apache.ecs.Element element) org.apache.ecs.Elementorg.apache.ecs.Elementorg.apache.ecs.ElementremoveElementFromRegistry(String element) org.apache.ecs.ElementremoveElementFromRegistry(org.apache.ecs.Element element) org.apache.ecs.Elementorg.apache.ecs.Elementorg.apache.ecs.ElementsetBeginEndModifier(char modifier) org.apache.ecs.ElementsetBeginModifier(char modifier) org.apache.ecs.ElementsetBeginModifier(char start_modifier, char end_modifier) org.apache.ecs.ElementsetBeginStartModifier(char modifier) voidsetCase(int case_type) voidsetCodeSet(String codeset) Sets the CodeSetvoidsetElementType(String element_type) org.apache.ecs.ElementsetEndEndModifier(char modifier) org.apache.ecs.ElementsetEndModifier(char modifier) org.apache.ecs.ElementsetEndModifier(char start_modifier, char end_modifier) org.apache.ecs.ElementsetEndStartModifier(char modifier) voidsetEndTagChar(char end_tag) org.apache.ecs.ElementsetFilterState(boolean filter_state) voidsetNeedClosingTag(boolean close) org.apache.ecs.ElementsetPrettyPrint(boolean pretty_print) voidsetStartTagChar(char start_tag) voidsetTabLevel(int tabLevel) voidsetTagPosition(int position) org.apache.ecs.ElementsetTagText(String text) final StringtoString()final String
-
Field Details
-
_pw
protected boolean _pw -
_pwOut
-
_osOut
-
-
Constructor Details
-
ComposedElement
public ComposedElement()Creates a new ComposedElement
-
-
Method Details
-
getPrettyPrint
public boolean getPrettyPrint()- Specified by:
getPrettyPrintin interfaceorg.apache.ecs.Element
-
setPrettyPrint
public org.apache.ecs.Element setPrettyPrint(boolean pretty_print) - Specified by:
setPrettyPrintin interfaceorg.apache.ecs.Element
-
setFilterState
public org.apache.ecs.Element setFilterState(boolean filter_state) - Specified by:
setFilterStatein interfaceorg.apache.ecs.Element
-
getFilterState
public boolean getFilterState()- Specified by:
getFilterStatein interfaceorg.apache.ecs.Element
-
getVersion
- Specified by:
getVersionin interfaceorg.apache.ecs.Element
-
setCase
public void setCase(int case_type) - Specified by:
setCasein interfaceorg.apache.ecs.Element
-
getCase
public int getCase()- Specified by:
getCasein interfaceorg.apache.ecs.Element
-
setElementType
- Specified by:
setElementTypein interfaceorg.apache.ecs.Element
-
getElementType
- Specified by:
getElementTypein interfaceorg.apache.ecs.Element
-
setCodeSet
Sets the CodeSet- Parameters:
codeset- String containing the codeset
-
getCodeSet
Returns the CodeSet- Returns:
- the codeset
-
setNeedClosingTag
public void setNeedClosingTag(boolean close) - Specified by:
setNeedClosingTagin interfaceorg.apache.ecs.Element
-
getNeedClosingTag
public boolean getNeedClosingTag()- Specified by:
getNeedClosingTagin interfaceorg.apache.ecs.Element
-
getNeedLineBreak
public boolean getNeedLineBreak()- Specified by:
getNeedLineBreakin interfaceorg.apache.ecs.Element
-
setTagPosition
public void setTagPosition(int position) - Specified by:
setTagPositionin interfaceorg.apache.ecs.Element
-
getTagPosition
public int getTagPosition()- Specified by:
getTagPositionin interfaceorg.apache.ecs.Element
-
setBeginModifier
public org.apache.ecs.Element setBeginModifier(char modifier) -
setBeginStartModifier
public org.apache.ecs.Element setBeginStartModifier(char modifier) - Specified by:
setBeginStartModifierin interfaceorg.apache.ecs.Element
-
setBeginEndModifier
public org.apache.ecs.Element setBeginEndModifier(char modifier) - Specified by:
setBeginEndModifierin interfaceorg.apache.ecs.Element
-
setBeginModifier
public org.apache.ecs.Element setBeginModifier(char start_modifier, char end_modifier) -
getBeginStartModifier
public char getBeginStartModifier()- Specified by:
getBeginStartModifierin interfaceorg.apache.ecs.Element
-
getBeginEndModifier
public char getBeginEndModifier()- Specified by:
getBeginEndModifierin interfaceorg.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:
setEndStartModifierin interfaceorg.apache.ecs.Element
-
setEndEndModifier
public org.apache.ecs.Element setEndEndModifier(char modifier) - Specified by:
setEndEndModifierin interfaceorg.apache.ecs.Element
-
setEndModifier
public org.apache.ecs.Element setEndModifier(char start_modifier, char end_modifier) -
getEndStartModifier
public char getEndStartModifier()- Specified by:
getEndStartModifierin interfaceorg.apache.ecs.Element
-
getEndEndModifier
public char getEndEndModifier()- Specified by:
getEndEndModifierin interfaceorg.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:
setStartTagCharin interfaceorg.apache.ecs.Element
-
getStartTagChar
public char getStartTagChar()- Specified by:
getStartTagCharin interfaceorg.apache.ecs.Element
-
setEndTagChar
public void setEndTagChar(char end_tag) - Specified by:
setEndTagCharin interfaceorg.apache.ecs.Element
-
getEndTagChar
public char getEndTagChar()- Specified by:
getEndTagCharin interfaceorg.apache.ecs.Element
-
getTagText
-
setTagText
-
createStartTag
-
createEndTag
-
setTabLevel
public void setTabLevel(int tabLevel) - Specified by:
setTabLevelin interfaceorg.apache.ecs.Element
-
getTabLevel
public int getTabLevel()- Specified by:
getTabLevelin interfaceorg.apache.ecs.Element
-
removeElementFromRegistry
- Specified by:
removeElementFromRegistryin interfaceorg.apache.ecs.ElementRegistry
-
registryHasElement
- Specified by:
registryHasElementin interfaceorg.apache.ecs.ElementRegistry
-
addElementToRegistry
- Specified by:
addElementToRegistryin interfaceorg.apache.ecs.ElementRegistry
-
removeElementFromRegistry
public org.apache.ecs.Element removeElementFromRegistry(org.apache.ecs.Element element) - Specified by:
removeElementFromRegistryin interfaceorg.apache.ecs.ElementRegistry
-
registryHasElement
public boolean registryHasElement(org.apache.ecs.Element element) - Specified by:
registryHasElementin interfaceorg.apache.ecs.ElementRegistry
-
addElementToRegistry
public org.apache.ecs.Element addElementToRegistry(org.apache.ecs.Element element) - Specified by:
addElementToRegistryin interfaceorg.apache.ecs.ElementRegistry
-
toString
-
toString
-
output
- Specified by:
outputin interfaceorg.apache.ecs.Element
-
output
- Specified by:
outputin interfaceorg.apache.ecs.Element
-
out
-
outAttribute
-
outListAttribute
-
outListAttribute
-
out
protected void out(org.apache.ecs.Element e) -
outOn
-
outOut
-
compose
protected abstract void compose()
-