|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class describes an ElementFactory.
| Field Summary | |
static int |
CENTER
Element tag to be rendered to the center of start_tag end_tag <_tag> This is the default. |
static int |
LEFT
Element tag to be rendered to the left of start_tag end_tag _tag<> |
static int |
LOWERCASE
Element to be rendered in all lowercase |
static int |
MIXEDCASE
Element to be rendered as specified by subclass |
static int |
RIGHT
Element tag to be rendered to the right of start_tag end_tag <>_tag |
static int |
UPPERCASE
Element to be rendered in all CAPS |
| Method Summary | |
char |
getBeginEndModifier()
Get the modifier for the end of the tag if one exists. |
char |
getBeginStartModifier()
Get a modifier for the start of the tag if one exists. |
int |
getCase()
Used to determine case setting |
java.lang.String |
getElementType()
Get the HtmlElement type |
char |
getEndEndModifier()
Get the modifier for the end of the tag if one exists. |
char |
getEndStartModifier()
Get a modifier for the start of the tag if one exists. |
char |
getEndTagChar()
Get the end tag character. |
boolean |
getFilterState()
Get the filter state of the element. |
boolean |
getNeedClosingTag()
Get whether or not this Element needs a closing tag |
boolean |
getNeedLineBreak()
Determine if this element needs a line break, if pretty printing. |
boolean |
getPrettyPrint()
Get the prettyPrint state of the element. |
char |
getStartTagChar()
Get the start tag character. |
int |
getTabLevel()
Get the tab level for pretty printing. |
int |
getTagPosition()
Get tag position. |
java.lang.String |
getVersion()
Get the version number of this codebase |
void |
output(java.io.OutputStream out)
Provide a way to output the element to a stream. |
void |
output(java.io.PrintWriter out)
Provide a way to output the element to a PrintWriter. |
Element |
setBeginEndModifier(char start_modifier)
Set a modifer for the end of the tag. |
Element |
setBeginStartModifier(char start_modifier)
|
void |
setCase(int type)
Set case type |
void |
setElementType(java.lang.String element_type)
Set the HtmlElement type |
Element |
setEndEndModifier(char start_modifier)
Set a modifer for the end of the tag. |
Element |
setEndStartModifier(char start_modifier)
|
void |
setEndTagChar(char end_tag)
Set the end tag character. |
Element |
setFilterState(boolean state)
Set the filter state of the element. |
void |
setNeedClosingTag(boolean close_tag)
Set wether or not this Element needs a closing tag |
Element |
setPrettyPrint(boolean pretty_print)
Set the prettyPrint state of the element. |
void |
setStartTagChar(char start_tag)
Set the start tag character. |
void |
setTabLevel(int tabLevel)
Set the tab level for pretty printing |
void |
setTagPosition(int position)
Set tag position. |
| Methods inherited from interface org.apache.ecs.ElementRegistry |
addElementToRegistry, addElementToRegistry, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry |
| Field Detail |
public static final int UPPERCASE
public static final int LOWERCASE
public static final int MIXEDCASE
public static final int CENTER
public static final int LEFT
public static final int RIGHT
| Method Detail |
public void setCase(int type)
public int getCase()
public java.lang.String getVersion()
public void setElementType(java.lang.String element_type)
public java.lang.String getElementType()
public void setNeedClosingTag(boolean close_tag)
public boolean getNeedClosingTag()
public boolean getNeedLineBreak()
public void setTagPosition(int position)
public int getTagPosition()
public void setStartTagChar(char start_tag)
public char getStartTagChar()
public void setEndTagChar(char end_tag)
public char getEndTagChar()
public Element setBeginStartModifier(char start_modifier)
public char getBeginStartModifier()
public Element setBeginEndModifier(char start_modifier)
public char getBeginEndModifier()
public Element setEndStartModifier(char start_modifier)
public char getEndStartModifier()
public Element setEndEndModifier(char start_modifier)
public char getEndEndModifier()
public Element setFilterState(boolean state)
public boolean getFilterState()
public Element setPrettyPrint(boolean pretty_print)
public boolean getPrettyPrint()
public void setTabLevel(int tabLevel)
public int getTabLevel()
public void output(java.io.OutputStream out)
public void output(java.io.PrintWriter out)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||