| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:53 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class XSLTProcessorApplet
|
| </TITLE>
|
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
| </HEAD>
|
| <BODY BGCOLOR="white">
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XSLTProcessorApplet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| PREV CLASS
|
| NEXT CLASS</FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="XSLTProcessorApplet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <A HREF="#fields_inherited_from_class_java.awt.Component">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.apache.xalan.client</FONT>
|
| <BR>
|
| Class XSLTProcessorApplet</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--java.awt.Component
|
| |
|
| +--java.awt.Container
|
| |
|
| +--java.awt.Panel
|
| |
|
| +--java.applet.Applet
|
| |
|
| +--<B>org.apache.xalan.client.XSLTProcessorApplet</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>XSLTProcessorApplet</B><DT>extends java.applet.Applet</DL>
|
|
|
| <P>
|
| Provides applet host for the XSLT processor. To perform transformations on an HTML client: |
| <ol> |
| <li>Use an <applet> tag to embed this applet in the HTML client.</li> |
| <li>Use the DocumentURL and StyleURL PARAM tags or the <A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#setDocumentURL(java.lang.String)"><CODE>setDocumentURL(java.lang.String)</CODE></A> and |
| <A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#setStyleURL(java.lang.String)"><CODE>setStyleURL(java.lang.String)</CODE></A> methods to specify the XML source document and XSL stylesheet.</li> |
| <li>Call the <A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#getHtmlText()"><CODE>getHtmlText()</CODE></A> method (or one of the transformToHtml() methods) |
| to perform the transformation and return the result as a String.</li> |
| </ol> |
| |
| This class extends Applet which ultimately causes this class to implement Serializable. |
| This is a serious restriction on this class. All fields that are not transient and not |
| static are written-out/read-in during serialization. So even private fields essentially |
| become part of the API. Developers need to take care when modifying fields.
|
| <P>
|
| <DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#org.apache.xalan.client.XSLTProcessorApplet">Serialized Form</A><DT><B>Usage:</B><DD></DD>
|
| </DL>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
| <A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Fields inherited from class java.awt.Component</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>BOTTOM_ALIGNMENT,
|
| CENTER_ALIGNMENT,
|
| LEFT_ALIGNMENT,
|
| RIGHT_ALIGNMENT,
|
| TOP_ALIGNMENT</CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Constructor Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#XSLTProcessorApplet()">XSLTProcessorApplet</A></B>()</CODE>
|
|
|
| <BR>
|
| The XSLTProcessorApplet constructor takes no arguments.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ========== METHOD SUMMARY =========== -->
|
|
|
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#destroy()">destroy</A></B>()</CODE>
|
|
|
| <BR>
|
| Cleanup; called when applet is terminated and unloaded.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#escapeString(java.lang.String)">escapeString</A></B>(java.lang.String s)</CODE>
|
|
|
| <BR>
|
| Given a String containing markup, escape the markup so it |
| can be displayed in the browser.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#freeCache()">freeCache</A></B>()</CODE>
|
|
|
| <BR>
|
| The processor keeps a cache of the source and |
| style trees, so call this method if they have changed |
| or you want to do garbage collection.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#getAppletInfo()">getAppletInfo</A></B>()</CODE>
|
|
|
| <BR>
|
| Get basic information about the applet</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#getHtmlText()">getHtmlText</A></B>()</CODE>
|
|
|
| <BR>
|
| Assuming the stylesheet URL and the input XML URL have been set, |
| perform the transformation and return the result as a String.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String[][]</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#getParameterInfo()">getParameterInfo</A></B>()</CODE>
|
|
|
| <BR>
|
| Get descriptions of the applet parameters.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#getResultTreeAsText()">getResultTreeAsText</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the HTML result Tree as a text string suitable |
| for display in a browser.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#getSourceTreeAsText()">getSourceTreeAsText</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the XML source Tree as a text string suitable |
| for display in a browser.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#getStyleTreeAsText()">getStyleTreeAsText</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the XSL style Tree as a text string suitable |
| for display in a browser.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#getTreeAsText(java.lang.String)">getTreeAsText</A></B>(java.lang.String treeURL)</CODE>
|
|
|
| <BR>
|
| Get an XML document (or stylesheet)</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#init()">init</A></B>()</CODE>
|
|
|
| <BR>
|
| Standard applet initialization.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#paint(java.awt.Graphics)">paint</A></B>(java.awt.Graphics g)</CODE>
|
|
|
| <BR>
|
| Do not call; this applet contains no UI or visual components.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#setDocumentURL(java.lang.String)">setDocumentURL</A></B>(java.lang.String urlString)</CODE>
|
|
|
| <BR>
|
| Set the URL to the XML document that will be transformed |
| with the XSL stylesheet.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#setStyleSheetAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">setStyleSheetAttribute</A></B>(java.lang.String nameOfIDAttrOfElemToModify, |
| java.lang.String elemId, |
| java.lang.String attrName, |
| java.lang.String value)</CODE>
|
|
|
| <BR>
|
| Set an attribute in the stylesheet, which gives the ability |
| to have some dynamic selection control.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#setStylesheetParam(java.lang.String, java.lang.String)">setStylesheetParam</A></B>(java.lang.String key, |
| java.lang.String expr)</CODE>
|
|
|
| <BR>
|
| Submit a stylesheet parameter.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#setStyleURL(java.lang.String)">setStyleURL</A></B>(java.lang.String urlString)</CODE>
|
|
|
| <BR>
|
| Set the URL to the XSL stylesheet that will be used |
| to transform the input XML.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#start()">start</A></B>()</CODE>
|
|
|
| <BR>
|
| Automatically called when the HTML client containing the applet loads.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#stop()">stop</A></B>()</CODE>
|
|
|
| <BR>
|
| Automatically called when the HTML page containing the applet is no longer |
| on the screen.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#transformToHtml(java.lang.String)">transformToHtml</A></B>(java.lang.String doc)</CODE>
|
|
|
| <BR>
|
| Process a document and a stylesheet and return |
| the transformation result.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/client/XSLTProcessorApplet.html#transformToHtml(java.lang.String, java.lang.String)">transformToHtml</A></B>(java.lang.String doc, |
| java.lang.String style)</CODE>
|
|
|
| <BR>
|
| Process a document and a stylesheet and return |
| the transformation result.</TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.applet.Applet"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.applet.Applet</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>getAccessibleContext,
|
| getAppletContext,
|
| getAudioClip,
|
| getAudioClip,
|
| getCodeBase,
|
| getDocumentBase,
|
| getImage,
|
| getImage,
|
| getLocale,
|
| getParameter,
|
| isActive,
|
| newAudioClip,
|
| play,
|
| play,
|
| resize,
|
| resize,
|
| setStub,
|
| showStatus</CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.awt.Panel"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.awt.Panel</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>addNotify</CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.awt.Container</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>add,
|
| add,
|
| add,
|
| add,
|
| add,
|
| addContainerListener,
|
| countComponents,
|
| deliverEvent,
|
| doLayout,
|
| findComponentAt,
|
| findComponentAt,
|
| getAlignmentX,
|
| getAlignmentY,
|
| getComponent,
|
| getComponentAt,
|
| getComponentAt,
|
| getComponentCount,
|
| getComponents,
|
| getInsets,
|
| getLayout,
|
| getListeners,
|
| getMaximumSize,
|
| getMinimumSize,
|
| getPreferredSize,
|
| insets,
|
| invalidate,
|
| isAncestorOf,
|
| layout,
|
| list,
|
| list,
|
| locate,
|
| minimumSize,
|
| paintComponents,
|
| preferredSize,
|
| print,
|
| printComponents,
|
| remove,
|
| remove,
|
| removeAll,
|
| removeContainerListener,
|
| removeNotify,
|
| setFont,
|
| setLayout,
|
| update,
|
| validate</CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.awt.Component</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>action,
|
| add,
|
| addComponentListener,
|
| addFocusListener,
|
| addHierarchyBoundsListener,
|
| addHierarchyListener,
|
| addInputMethodListener,
|
| addKeyListener,
|
| addMouseListener,
|
| addMouseMotionListener,
|
| addPropertyChangeListener,
|
| addPropertyChangeListener,
|
| bounds,
|
| checkImage,
|
| checkImage,
|
| contains,
|
| contains,
|
| createImage,
|
| createImage,
|
| disable,
|
| dispatchEvent,
|
| enable,
|
| enable,
|
| enableInputMethods,
|
| getBackground,
|
| getBounds,
|
| getBounds,
|
| getColorModel,
|
| getComponentOrientation,
|
| getCursor,
|
| getDropTarget,
|
| getFont,
|
| getFontMetrics,
|
| getForeground,
|
| getGraphics,
|
| getGraphicsConfiguration,
|
| getHeight,
|
| getInputContext,
|
| getInputMethodRequests,
|
| getLocation,
|
| getLocation,
|
| getLocationOnScreen,
|
| getName,
|
| getParent,
|
| getPeer,
|
| getSize,
|
| getSize,
|
| getToolkit,
|
| getTreeLock,
|
| getWidth,
|
| getX,
|
| getY,
|
| gotFocus,
|
| handleEvent,
|
| hasFocus,
|
| hide,
|
| imageUpdate,
|
| inside,
|
| isDisplayable,
|
| isDoubleBuffered,
|
| isEnabled,
|
| isFocusTraversable,
|
| isLightweight,
|
| isOpaque,
|
| isShowing,
|
| isValid,
|
| isVisible,
|
| keyDown,
|
| keyUp,
|
| list,
|
| list,
|
| list,
|
| location,
|
| lostFocus,
|
| mouseDown,
|
| mouseDrag,
|
| mouseEnter,
|
| mouseExit,
|
| mouseMove,
|
| mouseUp,
|
| move,
|
| nextFocus,
|
| paintAll,
|
| postEvent,
|
| prepareImage,
|
| prepareImage,
|
| printAll,
|
| remove,
|
| removeComponentListener,
|
| removeFocusListener,
|
| removeHierarchyBoundsListener,
|
| removeHierarchyListener,
|
| removeInputMethodListener,
|
| removeKeyListener,
|
| removeMouseListener,
|
| removeMouseMotionListener,
|
| removePropertyChangeListener,
|
| removePropertyChangeListener,
|
| repaint,
|
| repaint,
|
| repaint,
|
| repaint,
|
| requestFocus,
|
| reshape,
|
| setBackground,
|
| setBounds,
|
| setBounds,
|
| setComponentOrientation,
|
| setCursor,
|
| setDropTarget,
|
| setEnabled,
|
| setForeground,
|
| setLocale,
|
| setLocation,
|
| setLocation,
|
| setName,
|
| setSize,
|
| setSize,
|
| setVisible,
|
| show,
|
| show,
|
| size,
|
| toString,
|
| transferFocus</CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>equals,
|
| getClass,
|
| hashCode,
|
| notify,
|
| notifyAll,
|
| wait,
|
| wait,
|
| wait</CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <P>
|
|
|
| <!-- ============ FIELD DETAIL =========== -->
|
|
|
|
|
| <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Constructor Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="XSLTProcessorApplet()"><!-- --></A><H3>
|
| XSLTProcessorApplet</H3>
|
| <PRE>
|
| public <B>XSLTProcessorApplet</B>()</PRE>
|
| <DL>
|
| <DD>The XSLTProcessorApplet constructor takes no arguments.</DL>
|
|
|
| <!-- ============ METHOD DETAIL ========== -->
|
|
|
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Method Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="getAppletInfo()"><!-- --></A><H3>
|
| getAppletInfo</H3>
|
| <PRE>
|
| public java.lang.String <B>getAppletInfo</B>()</PRE>
|
| <DL>
|
| <DD>Get basic information about the applet<DD><DL>
|
| <DT><B>Returns:</B><DD>A String with the applet name and author.<DT><B>Overrides:</B><DD>getAppletInfo in class java.applet.Applet</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getParameterInfo()"><!-- --></A><H3>
|
| getParameterInfo</H3>
|
| <PRE>
|
| public java.lang.String[][] <B>getParameterInfo</B>()</PRE>
|
| <DL>
|
| <DD>Get descriptions of the applet parameters.<DD><DL>
|
| <DT><B>Returns:</B><DD>A two-dimensional array of Strings with Name, Type, and Description |
| for each parameter.<DT><B>Overrides:</B><DD>getParameterInfo in class java.applet.Applet</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="init()"><!-- --></A><H3>
|
| init</H3>
|
| <PRE>
|
| public void <B>init</B>()</PRE>
|
| <DL>
|
| <DD>Standard applet initialization.<DD><DL>
|
| <DT><B>Overrides:</B><DD>init in class java.applet.Applet</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="start()"><!-- --></A><H3>
|
| start</H3>
|
| <PRE>
|
| public void <B>start</B>()</PRE>
|
| <DL>
|
| <DD>Automatically called when the HTML client containing the applet loads. |
| This method starts execution of the applet thread.<DD><DL>
|
| <DT><B>Overrides:</B><DD>start in class java.applet.Applet</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="paint(java.awt.Graphics)"><!-- --></A><H3>
|
| paint</H3>
|
| <PRE>
|
| public void <B>paint</B>(java.awt.Graphics g)</PRE>
|
| <DL>
|
| <DD>Do not call; this applet contains no UI or visual components.<DD><DL>
|
| <DT><B>Overrides:</B><DD>paint in class java.awt.Container</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="stop()"><!-- --></A><H3>
|
| stop</H3>
|
| <PRE>
|
| public void <B>stop</B>()</PRE>
|
| <DL>
|
| <DD>Automatically called when the HTML page containing the applet is no longer |
| on the screen. Stops execution of the applet thread.<DD><DL>
|
| <DT><B>Overrides:</B><DD>stop in class java.applet.Applet</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="destroy()"><!-- --></A><H3>
|
| destroy</H3>
|
| <PRE>
|
| public void <B>destroy</B>()</PRE>
|
| <DL>
|
| <DD>Cleanup; called when applet is terminated and unloaded.<DD><DL>
|
| <DT><B>Overrides:</B><DD>destroy in class java.applet.Applet</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setStyleURL(java.lang.String)"><!-- --></A><H3>
|
| setStyleURL</H3>
|
| <PRE>
|
| public void <B>setStyleURL</B>(java.lang.String urlString)</PRE>
|
| <DL>
|
| <DD>Set the URL to the XSL stylesheet that will be used |
| to transform the input XML. No processing is done yet.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>urlString</CODE> - valid URL string for XSL stylesheet.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setDocumentURL(java.lang.String)"><!-- --></A><H3>
|
| setDocumentURL</H3>
|
| <PRE>
|
| public void <B>setDocumentURL</B>(java.lang.String urlString)</PRE>
|
| <DL>
|
| <DD>Set the URL to the XML document that will be transformed |
| with the XSL stylesheet. No processing is done yet.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>urlString</CODE> - valid URL string for XML document.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="freeCache()"><!-- --></A><H3>
|
| freeCache</H3>
|
| <PRE>
|
| public void <B>freeCache</B>()</PRE>
|
| <DL>
|
| <DD>The processor keeps a cache of the source and |
| style trees, so call this method if they have changed |
| or you want to do garbage collection.</DL>
|
| <HR>
|
|
|
| <A NAME="setStyleSheetAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| setStyleSheetAttribute</H3>
|
| <PRE>
|
| public void <B>setStyleSheetAttribute</B>(java.lang.String nameOfIDAttrOfElemToModify, |
| java.lang.String elemId, |
| java.lang.String attrName, |
| java.lang.String value)</PRE>
|
| <DL>
|
| <DD>Set an attribute in the stylesheet, which gives the ability |
| to have some dynamic selection control.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nameOfIDAttrOfElemToModify</CODE> - The name of an attribute to search for a unique id.<DD><CODE>elemId</CODE> - The unique ID to look for.<DD><CODE>attrName</CODE> - Once the element is found, the name of the attribute to set.<DD><CODE>value</CODE> - The value to set the attribute to.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setStylesheetParam(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| setStylesheetParam</H3>
|
| <PRE>
|
| public void <B>setStylesheetParam</B>(java.lang.String key, |
| java.lang.String expr)</PRE>
|
| <DL>
|
| <DD>Submit a stylesheet parameter.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>key</CODE> - stylesheet parameter key<DD><CODE>expr</CODE> - the parameter expression to be submitted.<DT><B>See Also: </B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#setParameter(java.lang.String, java.lang.Object)"><CODE>Transformer.setParameter(String,Object)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="escapeString(java.lang.String)"><!-- --></A><H3>
|
| escapeString</H3>
|
| <PRE>
|
| public java.lang.String <B>escapeString</B>(java.lang.String s)</PRE>
|
| <DL>
|
| <DD>Given a String containing markup, escape the markup so it |
| can be displayed in the browser.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>s</CODE> - String to escape |
| |
| The escaped string.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getHtmlText()"><!-- --></A><H3>
|
| getHtmlText</H3>
|
| <PRE>
|
| public java.lang.String <B>getHtmlText</B>()</PRE>
|
| <DL>
|
| <DD>Assuming the stylesheet URL and the input XML URL have been set, |
| perform the transformation and return the result as a String.<DD><DL>
|
| <DT><B>Returns:</B><DD>A string that contains the contents pointed to by the URL.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getTreeAsText(java.lang.String)"><!-- --></A><H3>
|
| getTreeAsText</H3>
|
| <PRE>
|
| public java.lang.String <B>getTreeAsText</B>(java.lang.String treeURL) |
| throws java.io.IOException</PRE>
|
| <DL>
|
| <DD>Get an XML document (or stylesheet)<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>treeURL</CODE> - valid URL string for the document.<DT><B>Returns:</B><DD>document<DT><B>Throws:</B><DD>java.io.IOException - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSourceTreeAsText()"><!-- --></A><H3>
|
| getSourceTreeAsText</H3>
|
| <PRE>
|
| public java.lang.String <B>getSourceTreeAsText</B>() |
| throws java.lang.Exception</PRE>
|
| <DL>
|
| <DD>Get the XML source Tree as a text string suitable |
| for display in a browser. Note that this is for display of the |
| XML itself, not for rendering of HTML by the browser.<DD><DL>
|
| <DT><B>Returns:</B><DD>XML source document as a string.<DT><B>Throws:</B><DD>java.lang.Exception - thrown if tree can not be converted.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getStyleTreeAsText()"><!-- --></A><H3>
|
| getStyleTreeAsText</H3>
|
| <PRE>
|
| public java.lang.String <B>getStyleTreeAsText</B>() |
| throws java.lang.Exception</PRE>
|
| <DL>
|
| <DD>Get the XSL style Tree as a text string suitable |
| for display in a browser. Note that this is for display of the |
| XML itself, not for rendering of HTML by the browser.<DD><DL>
|
| <DT><B>Returns:</B><DD>The XSL stylesheet as a string.<DT><B>Throws:</B><DD>java.lang.Exception - thrown if tree can not be converted.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getResultTreeAsText()"><!-- --></A><H3>
|
| getResultTreeAsText</H3>
|
| <PRE>
|
| public java.lang.String <B>getResultTreeAsText</B>() |
| throws java.lang.Exception</PRE>
|
| <DL>
|
| <DD>Get the HTML result Tree as a text string suitable |
| for display in a browser. Note that this is for display of the |
| XML itself, not for rendering of HTML by the browser.<DD><DL>
|
| <DT><B>Returns:</B><DD>Transformation result as unmarked text.<DT><B>Throws:</B><DD>java.lang.Exception - thrown if tree can not be converted.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transformToHtml(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| transformToHtml</H3>
|
| <PRE>
|
| public java.lang.String <B>transformToHtml</B>(java.lang.String doc, |
| java.lang.String style)</PRE>
|
| <DL>
|
| <DD>Process a document and a stylesheet and return |
| the transformation result. If one of these is null, the |
| existing value (of a previous transformation) is not affected.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doc</CODE> - URL string to XML document<DD><CODE>style</CODE> - URL string to XSL stylesheet<DT><B>Returns:</B><DD>HTML transformation result</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transformToHtml(java.lang.String)"><!-- --></A><H3>
|
| transformToHtml</H3>
|
| <PRE>
|
| public java.lang.String <B>transformToHtml</B>(java.lang.String doc)</PRE>
|
| <DL>
|
| <DD>Process a document and a stylesheet and return |
| the transformation result. Use the xsl:stylesheet PI to find the |
| document, if one exists.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doc</CODE> - URL string to XML document containing an xsl:stylesheet PI.<DT><B>Returns:</B><DD>HTML transformation result</DL>
|
| </DD>
|
| </DL>
|
| <!-- ========= END OF CLASS DATA ========= -->
|
| <HR>
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XSLTProcessorApplet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| PREV CLASS
|
| NEXT CLASS</FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="XSLTProcessorApplet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <A HREF="#fields_inherited_from_class_java.awt.Component">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|