org.apache.ecs
Class StringElement
java.lang.Object
|
+--org.apache.ecs.Element
|
+--org.apache.ecs.StringElement
- public class StringElement
- extends Element
This class is used to create a String element in ECS. A StringElement
has no tags wrapped around it, it is an Element without tags.
- Version:
- $Id: StringElement.java,v 1.1 1999/04/30 23:45:47 jonbolt Exp $
- Author:
- Stephan Nagy, Jon S. Stevens
Field Summary |
private java.lang.StringBuffer |
sb
internal use only |
Methods inherited from class org.apache.ecs.Element |
alterCase,
getCase,
getCodeSet,
getElementHashEntry,
getElementType,
getFilter,
getFilterState,
getNeedClosingTag,
getTagPosition,
getVersion,
setCase,
setCodeSet,
setElementType,
setFilter,
setFilterState,
setNeedClosingTag,
setTagPosition,
toString,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
sb
private java.lang.StringBuffer sb
- internal use only
StringElement
public StringElement()
- Basic constructor
StringElement
public StringElement(java.lang.String string)
- Basic constructor
StringElement
public StringElement(Element string)
- Basic constructor
void ()
- Overrides:
- in class java.lang.Object
append
private StringElement append(java.lang.String string)
- Appends to the internal StringBuffer
reset
public StringElement reset()
- Resets the interal string to be empty.
addElement
public StringElement addElement(java.lang.String element)
- Adds an Element to the element.
- Parameters:
element
- Adds an Element to the element.
addElement
public StringElement addElement(Element element)
- Adds an Element to the element.
- Parameters:
element
- Adds an Element to the element.
output
public void output(java.io.OutputStream out)
- Implements the output method in Element
- Overrides:
- output in class Element
output
public void output(java.io.PrintWriter out)
- Implements the output method in Element
- Overrides:
- output in class Element