|
|||||||||||
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.wml.Meta
This class implements the meta element
Field Summary |
Fields inherited from class org.apache.ecs.ConcreteElement |
|
Fields inherited from class org.apache.ecs.ElementAttributes |
|
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 | |
Meta()
Basic constructor. |
Method Summary | |
Meta |
setCache(java.lang.String time)
Set the Cache-Control http-equiv header |
Meta |
setExpired()
Set the Expired http-equiv header |
Meta |
setHttpEquiv(java.lang.String name,
java.lang.String value)
Set an http-equiv header |
Meta |
setName(java.lang.String name,
java.lang.String value)
Sets the name="" 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 Meta()
Method Detail |
public Meta setCache(java.lang.String time)
time
- the max-age valuepublic Meta setExpired()
public Meta setName(java.lang.String name, java.lang.String value)
name
- the name="" attributepublic Meta setHttpEquiv(java.lang.String name, java.lang.String value)
name
- the header namevalue
- the header value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |