org.apache.ecs
Interface ElementFactory

All Known Implementing Classes:
Element

public abstract interface ElementFactory

This class describes an ElementFactory.

Version:
$Id: ElementFactory.java,v 1.1.1.1 1999/04/20 01:18:57 jonbolt Exp $
Author:
Stephan Nagy, Jon S. Stevens

Field Summary
static int LOWERCASE
          Element to be rendered in all lowercase
static int MIXEDCASE
          Element to be rendered as specified by subclass
static int UPPERCASE
          Element to be rendered in all CAPS
 
Method Summary
 int getCase()
          Used to determine case setting
 java.lang.String getHtmlElementType()
          Get the HtmlElement type
 boolean getNeedClosingTag()
          Get wether or not this Element needs a closing tag
 java.lang.String getVersion()
          Get the version number of this codebase
 void setCase(int type)
          Set case type
 void setHtmlElementType(java.lang.String element_type)
          Set the HtmlElement type
 void setNeedClosingTag(boolean close_tag)
          Set wether or not this Element needs a closing tag
 

Field Detail

UPPERCASE

public static final int UPPERCASE
Element to be rendered in all CAPS

LOWERCASE

public static final int LOWERCASE
Element to be rendered in all lowercase

MIXEDCASE

public static final int MIXEDCASE
Element to be rendered as specified by subclass
Method Detail

setCase

public void setCase(int type)
Set case type

getCase

public int getCase()
Used to determine case setting

getVersion

public java.lang.String getVersion()
Get the version number of this codebase

setHtmlElementType

public void setHtmlElementType(java.lang.String element_type)
Set the HtmlElement type

getHtmlElementType

public java.lang.String getHtmlElementType()
Get the HtmlElement type

setNeedClosingTag

public void setNeedClosingTag(boolean close_tag)
Set wether or not this Element needs a closing tag

getNeedClosingTag

public boolean getNeedClosingTag()
Get wether or not this Element needs a closing tag