|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBodyTagSupport
weblogicx.xml.tags.XsltTag
public class XsltTag
The XSL tag processes an XML string using the style sheet contained in the tag body or included from another servlet. You must specify a processor which are accessed through the generic Processor interface. Current implementations include xalan, xt, and saxon. Remember to specify text if you don't want all the extra XML version tags, etc.
Constructor Summary | |
---|---|
XsltTag()
|
Method Summary | |
---|---|
int |
doAfterBody()
|
int |
doEndTag()
|
int |
doStartTag()
|
byte[] |
getContent(weblogic.servlet.internal.ServletRequestImpl request,
String uri)
Utility method for pulling content from another servlet. |
protected String |
getDefault()
|
String |
getMedia()
|
protected void |
getPIs(Node document)
|
String |
getStylesheet()
|
String |
getXml()
|
protected String |
getXslPage(String media)
|
protected Map |
parse(String data)
|
Object |
putXslIs(String media,
InputStream xslis)
|
Object |
putXslURI(String media,
String uri)
|
void |
release()
Release back to original state. |
InputSource |
resolveEntity(String pid,
String sid)
Entity resolver |
protected void |
setDefault(String defaultXslPage)
|
void |
setDefaultXslIs(InputStream defaultXslIs)
|
void |
setMedia(String media)
|
void |
setStylesheet(String stylesheet)
|
void |
setXml(String xml)
|
void |
setXmlInputStream(InputStream xmlis)
|
void |
setXslInputStream(InputStream xmlis)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XsltTag()
Method Detail |
---|
public String getXml()
public void setXml(String xml)
public String getMedia()
public void setMedia(String media)
public String getStylesheet()
public void setStylesheet(String stylesheet)
public void setXmlInputStream(InputStream xmlis)
public void setXslInputStream(InputStream xmlis)
public int doStartTag() throws JspException
JspException
public int doAfterBody() throws JspException
JspException
public int doEndTag() throws JspException
JspException
public void setDefaultXslIs(InputStream defaultXslIs)
public Object putXslIs(String media, InputStream xslis)
public Object putXslURI(String media, String uri)
protected String getDefault()
protected void setDefault(String defaultXslPage)
protected String getXslPage(String media)
protected Map parse(String data)
protected void getPIs(Node document) throws SAXException
SAXException
public InputSource resolveEntity(String pid, String sid) throws SAXException
resolveEntity
in interface EntityResolver
SAXException
public void release()
public byte[] getContent(weblogic.servlet.internal.ServletRequestImpl request, String uri) throws IOException, ServletException
IOException
ServletException
|
Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |