Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## BEA WebLogic Server 9.0 API Reference

## 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:
  BodyTag, EntityResolver, IterationTag, JspTag, Serializable, Tag

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

  Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary

Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
`bodyContent`

Fields inherited from class javax.servlet.jsp.tagext.TagSupport
`id, pageContext`

Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
`EVAL_BODY_BUFFERED, EVAL_BODY_TAG`

Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
`EVAL_BODY_AGAIN`

Fields inherited from interface javax.servlet.jsp.tagext.Tag
`EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE`

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 javax.servlet.jsp.tagext.BodyTagSupport
`doInitBody, getBodyContent, getPreviousOut, setBodyContent`

Methods inherited from class javax.servlet.jsp.tagext.TagSupport
`findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface javax.servlet.jsp.tagext.Tag
`getParent, setPageContext, setParent`

Constructor Detail

### XsltTag

    public XsltTag()

Method Detail

### doAfterBody

    public int doAfterBody()
                    throws JspException

  Specified by:
    `doAfterBody` in interface `IterationTag`
  Throws:
    `JspException`

### doEndTag

    public int doEndTag()
                 throws JspException

  Specified by:
    `doEndTag` in interface `Tag`
  Throws:
    `JspException`

### doStartTag

    public int doStartTag()
                   throws JspException

  Specified by:
    `doStartTag` in interface `Tag`
  Throws:
    `JspException`

### 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`

### getDefault

    protected String getDefault()

### getMedia

    public String getMedia()

### getPIs

    protected void getPIs(Node document)
                   throws SAXException

  Throws:
    `SAXException`

### getStylesheet

    public String getStylesheet()

### getXml

    public String getXml()

### getXslPage

    protected String getXslPage(String media)

### parse

    protected Map parse(String data)

### putXslIs

    public Object putXslIs(String media,
                           InputStream xslis)

### putXslURI

    public Object putXslURI(String media,
                            String uri)

### release

    public void release()

  Release back to original state.

  Specified by:
    `release` in interface `Tag`

### resolveEntity

    public InputSource resolveEntity(String pid,
                                     String sid)
                              throws SAXException

  Entity resolver

  Specified by:
    `resolveEntity` in interface `EntityResolver`
  Throws:
    `SAXException`

### setDefault

    protected void setDefault(String defaultXslPage)

### setDefaultXslIs

    public void setDefaultXslIs(InputStream defaultXslIs)

### setMedia

    public void setMedia(String media)

### setStylesheet

    public void setStylesheet(String stylesheet)

### setXml

    public void setXml(String xml)

### setXmlInputStream

    public void setXmlInputStream(InputStream xmlis)

### setXslInputStream

    public void setXslInputStream(InputStream xmlis)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD