|
||||||||||
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.xhtml.style
public class style
This class creates a <style> tag.
Field Summary | |
---|---|
static java.lang.String |
css
type=text/css |
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 | |
---|---|
style()
Basic constructor. |
|
style(java.lang.String type)
Basic constructor. |
|
style(java.lang.String type,
Element element)
Basic constructor. |
|
style(java.lang.String type,
java.lang.String element)
Basic constructor. |
Method Summary | |
---|---|
style |
addElement(Element element)
Adds an Element to the element. |
style |
addElement(java.lang.String element)
Adds an Element to the element. |
style |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
style |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
style |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
Element |
setLang(java.lang.String lang)
Sets the lang="" and xml:lang="" attributes |
style |
setMedia(java.lang.String media)
Sets the media="" attribute |
style |
setType(java.lang.String type)
Sets the type="" 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 |
Field Detail |
---|
public static final java.lang.String css
Constructor Detail |
---|
public style()
public style(java.lang.String type)
type
- the type="" attributepublic style(java.lang.String type, Element element)
type
- the type="" attributeelement
- Adds an Element to the element.public style(java.lang.String type, java.lang.String element)
type
- the type="" attributeelement
- Adds an Element to the element.Method Detail |
---|
public style setType(java.lang.String type)
type
- the type="" attributepublic style setMedia(java.lang.String media)
media
- the media="" attributepublic Element setLang(java.lang.String lang)
setLang
in class ElementAttributes
lang
- the lang="" and xml:lang="" attributespublic style addElement(java.lang.String hashcode, Element element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public style addElement(java.lang.String hashcode, java.lang.String element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public style addElement(Element element)
element
- Adds an Element to the element.public style addElement(java.lang.String element)
element
- Adds an Element to the element.public style 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 |