|
||||||||
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 | |
int |
getCase()
Used to determine case setting |
java.lang.String |
getElementType()
Get the HtmlElement type |
char |
getEndModifier()
Get the modifier for the end of the tag if one exists. |
char |
getEndTagChar()
Get the end tag character. |
boolean |
getNeedClosingTag()
Get whether or not this Element needs a closing tag |
char |
getStartModifier()
Get a modifier for the start of the tag if one exists. |
char |
getStartTagChar()
Get the start tag character. |
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. |
void |
setCase(int type)
Set case type |
void |
setElementType(java.lang.String element_type)
Set the HtmlElement type |
Element |
setEndModifier(char start_modifier)
Set a modifer for the end of the tag. |
void |
setEndTagChar(char end_tag)
Set the end tag character. |
void |
setNeedClosingTag(boolean close_tag)
Set wether or not this Element needs a closing tag |
Element |
setStartModifier(char start_modifier)
|
void |
setStartTagChar(char start_tag)
Set the start tag character. |
void |
setTagPosition(int position)
Set tag position. |
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 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 setStartModifier(char start_modifier)
public char getStartModifier()
public Element setEndModifier(char start_modifier)
public char getEndModifier()
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 |