|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.SinglePartElement
org.apache.ecs.html.Base
public class Base
This class creates a <BASE> tag.
| Field Summary |
|---|
| Fields inherited from class org.apache.ecs.GenericElement |
|---|
tabLevel |
| Fields inherited from interface org.apache.ecs.Attributes |
|---|
NO_ATTRIBUTE_VALUE |
| Fields inherited from interface org.apache.ecs.Element |
|---|
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE |
| Constructor Summary | |
|---|---|
Base()
Basic constructor. |
|
Base(java.lang.String href)
Basic constructor. |
|
Base(java.lang.String href,
java.lang.String target)
Basic constructor. |
|
| Method Summary | |
|---|---|
Base |
addElement(Element element)
Adds an Element to the element. |
Base |
addElement(java.lang.String element)
Adds an Element to the element. |
Base |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
Base |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
Base |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
Base |
setHref(java.lang.String href)
Sets the HREF="" attribute |
Base |
setTarget(java.lang.String target)
Sets the TARGET="" attribute |
| Methods inherited from class org.apache.ecs.ConcreteElement |
|---|
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, keys, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Base()
public Base(java.lang.String href)
href - the URI that goes between double quotes
public Base(java.lang.String href,
java.lang.String target)
href - the URI that goes between double quotestarget - the target that goes between double quotes| Method Detail |
|---|
public Base setHref(java.lang.String href)
href - the URI that goes between double quotespublic Base setTarget(java.lang.String target)
target - the URI that goes between double quotes
public Base addElement(java.lang.String hashcode,
Element element)
hashcode - name of element for hash tableelement - Adds an Element to the element.
public Base addElement(java.lang.String hashcode,
java.lang.String element)
hashcode - name of element for hash tableelement - Adds an Element to the element.public Base addElement(Element element)
element - Adds an Element to the element.public Base addElement(java.lang.String element)
element - Adds an Element to the element.public Base removeElement(java.lang.String hashcode)
hashcode - the name of the element to be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||