|
|||||||||||
| 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.jetspeed.util.servlet.EcsStylesheetElement
NOTE: The use of Ecs for aggregating portlet content is deprecated! This utility class will be removed once we don't have the ecs dependency any more. EcsStylesheetElement encapsulates XML data, a stylesheet and the parameters for processing the XML data within the context of ECS markup. This is a workaround to allow invoking stylesheets from JetSpeed Portlets without buffering strings with the transformation results. Transformation is invoked when traversal of an ECS tree during writing reaches the EcsStylesheetElement.
| 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 | |
EcsStylesheetElement(org.xml.sax.InputSource content,
org.xml.sax.InputSource stylesheet,
java.util.Map params)
Construct an ECS element that will render a given XML dicument using a given stylesheet and parameters when one of its output methods is invoked. |
|
| Method Summary | |
void |
output(java.io.OutputStream out)
Processes the referenced XML content using the referenced XSLT stylesheet and parameters. |
void |
output(java.io.PrintWriter out)
Processes the referenced XML content using the referenced XSLT stylesheet and parameters. |
| Methods inherited from class org.apache.ecs.ConcreteElement |
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, keys, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry |
| Methods inherited from class org.apache.ecs.ElementAttributes |
addAttribute, addAttribute, addAttribute, addAttribute, attributes, createStartTag, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setLang, setStyle, setTitle |
| Methods inherited from class org.apache.ecs.GenericElement |
alterCase, createEndTag, getBeginEndModifier, getBeginEndModifierDefined, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementHashEntry, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilter, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, putTabs, putTabs, removeBeginEndModifier, removeBeginStartModifier, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginModifier, setBeginModifier, setBeginStartModifier, setCase, setCodeSet, setElementType, setEndEndModifier, setEndModifier, setEndModifier, setEndStartModifier, setEndTagChar, setFilter, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EcsStylesheetElement(org.xml.sax.InputSource content,
org.xml.sax.InputSource stylesheet,
java.util.Map params)
content - XML content to be processedstylesheet - XSLT stylesheet to be used for processing the contentparams - parameters for the stylesheet| Method Detail |
public void output(java.io.OutputStream out)
out - The output stream to which the result shall be written.public void output(java.io.PrintWriter out)
out - The print writer to be used for writing the result.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||