|
||||||||||
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.MultiPartElement
org.apache.ecs.wml.Card
public class Card
This class implements the card element
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 | |
---|---|
Card()
This method creates a <CARD> tag. |
|
Card(java.lang.String id,
java.lang.String attrTitle)
This method creates a <card> tag. |
Method Summary | |
---|---|
Card |
addElement(Element element)
Adds an Element to the element. |
Card |
addElement(java.lang.String element)
Adds an Element to the element. |
Card |
setCardId(java.lang.String name)
Sets the id="" attribute. |
Card |
setCardTitle(java.lang.String title)
Sets the title="" attribute. |
Card |
setNewContext(boolean newcontext)
Sets the newcontext="" 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 Card()
public Card(java.lang.String id, java.lang.String attrTitle)
id
- Value for attribute idattrTitle
- Value for attribute titleMethod Detail |
---|
public Card setCardId(java.lang.String name)
name
- the value that should go into the id attributepublic Card setCardTitle(java.lang.String title)
title
- the value that should go into the title attributepublic Card setNewContext(boolean newcontext)
newcontext
- the value that should go into the title attributepublic Card addElement(Element element)
element
- Adds an Element to the element.public Card addElement(java.lang.String element)
element
- Adds an Element to the element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |