weblogicx.xml.tags
Class XsltTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
weblogicx.xml.tags.XsltTag
All Implemented Interfaces: Serializable , BodyTag , IterationTag , JspTag , Tag , EntityResolver
public class XsltTag extends BodyTagSupport implements EntityResolver
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.
See Also: Serialized Form
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
XsltTag
public XsltTag ()
getXml
public String getXml ()
setXml
public void setXml (String xml)
getMedia
public String getMedia ()
setMedia
public void setMedia (String media)
getStylesheet
public String getStylesheet ()
setStylesheet
public void setStylesheet (String stylesheet)
setXmlInputStream
public void setXmlInputStream (InputStream xmlis)
setXslInputStream
public void setXslInputStream (InputStream xmlis)
doStartTag
public int doStartTag ()
throws JspException
Specified by: doStartTag
in interface Tag
Overrides: doStartTag
in class BodyTagSupport
Throws:
JspException
doAfterBody
public int doAfterBody ()
throws JspException
Specified by: doAfterBody
in interface IterationTag
Overrides: doAfterBody
in class BodyTagSupport
Throws:
JspException
doEndTag
public int doEndTag ()
throws JspException
Specified by: doEndTag
in interface Tag
Overrides: doEndTag
in class BodyTagSupport
Throws:
JspException
setDefaultXslIs
public void setDefaultXslIs (InputStream defaultXslIs)
putXslIs
public Object putXslIs (String media,
InputStream xslis)
putXslURI
public Object putXslURI (String media,
String uri)
getDefault
protected String getDefault ()
setDefault
protected void setDefault (String defaultXslPage)
getXslPage
protected String getXslPage (String media)
parse
protected Map parse (String data)
getPIs
protected void getPIs (Node document)
throws SAXException
Throws:
SAXException
resolveEntity
public InputSource resolveEntity (String pid,
String sid)
throws SAXException
Entity resolver
Specified by: resolveEntity
in interface EntityResolver
Throws:
SAXException
release
public void release ()
Release back to original state.
Specified by: release
in interface Tag
Overrides: release
in class BodyTagSupport
getContent
public byte[] getContent (weblogic.servlet.internal.ServletRequestImpl request,
String uri)
throws IOException ,
ServletException
Utility method for pulling content from another servlet.
Throws:
IOException
ServletException
Copyright 1996, 2013, 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 Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD