<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:23 PDT 2012 --> | |
<TITLE> | |
TestSeq | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xalan.xsltc.compiler.TestSeq class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="TestSeq"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<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/TestSeq.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"> | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html" title="class in org.apache.xalan.xsltc.compiler"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Text.html" title="class in org.apache.xalan.xsltc.compiler"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xalan/xsltc/compiler/TestSeq.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="TestSeq.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xalan.xsltc.compiler</FONT> | |
<BR> | |
Class TestSeq</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xalan.xsltc.compiler.TestSeq</B> | |
</PRE> | |
<HR> | |
<DL> | |
<DT><PRE>final class <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.49"><B>TestSeq</B></A><DT>extends java.lang.Object</DL> | |
</PRE> | |
<P> | |
A test sequence is a sequence of patterns that | |
(1) occured in templates in the same mode | |
(2) share the same kernel node type (e.g. A/B and C/C/B) | |
(3) may also contain patterns matching "*" and "node()" | |
(element sequence only) or matching "@*" (attribute | |
sequence only). | |
A test sequence may have a default template, which will be | |
instantiated if none of the other patterns match. | |
<P> | |
<P> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html" title="class in org.apache.xalan.xsltc.compiler">Template</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#_default">_default</A></B></CODE> | |
<BR> | |
Default template for this test sequence</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private InstructionList</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#_instructionList">_instructionList</A></B></CODE> | |
<BR> | |
Instruction list representing this test sequence.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#_kernelType">_kernelType</A></B></CODE> | |
<BR> | |
Integer code for the kernel type of this test sequence</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../../org/apache/xalan/xsltc/compiler/Mode.html" title="class in org.apache.xalan.xsltc.compiler">Mode</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#_mode">_mode</A></B></CODE> | |
<BR> | |
A reference to the Mode object.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.util.Vector</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#_patterns">_patterns</A></B></CODE> | |
<BR> | |
Vector of all patterns in the test sequence.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private InstructionHandle</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#_start">_start</A></B></CODE> | |
<BR> | |
Cached handle to avoid compiling more than once.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#TestSeq(java.util.Vector, int, org.apache.xalan.xsltc.compiler.Mode)">TestSeq</A></B>(java.util.Vector patterns, | |
int kernelType, | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Mode.html" title="class in org.apache.xalan.xsltc.compiler">Mode</A> mode)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#TestSeq(java.util.Vector, org.apache.xalan.xsltc.compiler.Mode)">TestSeq</A></B>(java.util.Vector patterns, | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Mode.html" title="class in org.apache.xalan.xsltc.compiler">Mode</A> mode)</CODE> | |
<BR> | |
Creates a new test sequence given a set of patterns and a mode.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> InstructionHandle</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#compile(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, InstructionHandle)">compile</A></B>(<A HREF="../../../../../org/apache/xalan/xsltc/compiler/util/ClassGenerator.html" title="class in org.apache.xalan.xsltc.compiler.util">ClassGenerator</A> classGen, | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/util/MethodGenerator.html" title="class in org.apache.xalan.xsltc.compiler.util">MethodGenerator</A> methodGen, | |
InstructionHandle continuation)</CODE> | |
<BR> | |
Compile the code for this test sequence.</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/xsltc/compiler/TestSeq.html#findTemplates(java.util.Dictionary)">findTemplates</A></B>(java.util.Dictionary templates)</CODE> | |
<BR> | |
Returns, by reference, the templates that are included in | |
this test sequence.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> InstructionList</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#getInstructionList()">getInstructionList</A></B>()</CODE> | |
<BR> | |
Returns the instruction list for this test sequence</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../../org/apache/xalan/xsltc/compiler/LocationPathPattern.html" title="class in org.apache.xalan.xsltc.compiler">LocationPathPattern</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#getPattern(int)">getPattern</A></B>(int n)</CODE> | |
<BR> | |
Returns pattern n in this test sequence</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#getPosition()">getPosition</A></B>()</CODE> | |
<BR> | |
Returns the position of the highest priority pattern in | |
this test sequence.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> double</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#getPriority()">getPriority</A></B>()</CODE> | |
<BR> | |
Return the highest priority for a pattern in this test | |
sequence.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private InstructionHandle</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/TestSeq.html#getTemplateHandle(org.apache.xalan.xsltc.compiler.Template)">getTemplateHandle</A></B>(<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html" title="class in org.apache.xalan.xsltc.compiler">Template</A> template)</CODE> | |
<BR> | |
Get the instruction handle to a template's code.</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/xsltc/compiler/TestSeq.html#reduce()">reduce</A></B>()</CODE> | |
<BR> | |
Reduce the patterns in this test sequence.</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/xsltc/compiler/TestSeq.html#toString()">toString</A></B>()</CODE> | |
<BR> | |
Returns a string representation of this test sequence.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="_kernelType"><!-- --></A><H3> | |
_kernelType</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.54"><B>_kernelType</B></A></PRE> | |
<DL> | |
<DD>Integer code for the kernel type of this test sequence | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_patterns"><!-- --></A><H3> | |
_patterns</H3> | |
<PRE> | |
private java.util.Vector <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.60"><B>_patterns</B></A></PRE> | |
<DL> | |
<DD>Vector of all patterns in the test sequence. May include | |
patterns with "*", "@*" or "node()" kernel. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_mode"><!-- --></A><H3> | |
_mode</H3> | |
<PRE> | |
private <A HREF="../../../../../org/apache/xalan/xsltc/compiler/Mode.html" title="class in org.apache.xalan.xsltc.compiler">Mode</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.65"><B>_mode</B></A></PRE> | |
<DL> | |
<DD>A reference to the Mode object. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_default"><!-- --></A><H3> | |
_default</H3> | |
<PRE> | |
private <A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html" title="class in org.apache.xalan.xsltc.compiler">Template</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.70"><B>_default</B></A></PRE> | |
<DL> | |
<DD>Default template for this test sequence | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_instructionList"><!-- --></A><H3> | |
_instructionList</H3> | |
<PRE> | |
private InstructionList <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.75"><B>_instructionList</B></A></PRE> | |
<DL> | |
<DD>Instruction list representing this test sequence. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_start"><!-- --></A><H3> | |
_start</H3> | |
<PRE> | |
private InstructionHandle <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.80"><B>_start</B></A></PRE> | |
<DL> | |
<DD>Cached handle to avoid compiling more than once. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="TestSeq(java.util.Vector, org.apache.xalan.xsltc.compiler.Mode)"><!-- --></A><H3> | |
TestSeq</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.85"><B>TestSeq</B></A>(java.util.Vector patterns, | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Mode.html" title="class in org.apache.xalan.xsltc.compiler">Mode</A> mode)</PRE> | |
<DL> | |
<DD>Creates a new test sequence given a set of patterns and a mode. | |
<P> | |
</DL> | |
<HR> | |
<A NAME="TestSeq(java.util.Vector, int, org.apache.xalan.xsltc.compiler.Mode)"><!-- --></A><H3> | |
TestSeq</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.89"><B>TestSeq</B></A>(java.util.Vector patterns, | |
int kernelType, | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Mode.html" title="class in org.apache.xalan.xsltc.compiler">Mode</A> mode)</PRE> | |
<DL> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="toString()"><!-- --></A><H3> | |
toString</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.100"><B>toString</B></A>()</PRE> | |
<DL> | |
<DD>Returns a string representation of this test sequence. Notice | |
that test sequences are mutable, so the value returned by this | |
method is different before and after calling reduce(). | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getInstructionList()"><!-- --></A><H3> | |
getInstructionList</H3> | |
<PRE> | |
public InstructionList <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.122"><B>getInstructionList</B></A>()</PRE> | |
<DL> | |
<DD>Returns the instruction list for this test sequence | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPriority()"><!-- --></A><H3> | |
getPriority</H3> | |
<PRE> | |
public double <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.131"><B>getPriority</B></A>()</PRE> | |
<DL> | |
<DD>Return the highest priority for a pattern in this test | |
sequence. This is either the priority of the first or | |
of the default pattern. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPosition()"><!-- --></A><H3> | |
getPosition</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.141"><B>getPosition</B></A>()</PRE> | |
<DL> | |
<DD>Returns the position of the highest priority pattern in | |
this test sequence. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="reduce()"><!-- --></A><H3> | |
reduce</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.152"><B>reduce</B></A>()</PRE> | |
<DL> | |
<DD>Reduce the patterns in this test sequence. Creates a new | |
vector of patterns and sets the default pattern if it | |
finds a patterns that is fully reduced. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="findTemplates(java.util.Dictionary)"><!-- --></A><H3> | |
findTemplates</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.180"><B>findTemplates</B></A>(java.util.Dictionary templates)</PRE> | |
<DL> | |
<DD>Returns, by reference, the templates that are included in | |
this test sequence. Note that a single template can occur | |
in several test sequences if its pattern is a union. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getTemplateHandle(org.apache.xalan.xsltc.compiler.Template)"><!-- --></A><H3> | |
getTemplateHandle</H3> | |
<PRE> | |
private InstructionHandle <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.197"><B>getTemplateHandle</B></A>(<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html" title="class in org.apache.xalan.xsltc.compiler">Template</A> template)</PRE> | |
<DL> | |
<DD>Get the instruction handle to a template's code. This is | |
used when a single template occurs in several test | |
sequences; that is, if its pattern is a union of patterns | |
(e.g. match="A/B | A/C"). | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPattern(int)"><!-- --></A><H3> | |
getPattern</H3> | |
<PRE> | |
private <A HREF="../../../../../org/apache/xalan/xsltc/compiler/LocationPathPattern.html" title="class in org.apache.xalan.xsltc.compiler">LocationPathPattern</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.204"><B>getPattern</B></A>(int n)</PRE> | |
<DL> | |
<DD>Returns pattern n in this test sequence | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="compile(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, InstructionHandle)"><!-- --></A><H3> | |
compile</H3> | |
<PRE> | |
public InstructionHandle <A HREF="../../../../../src-html/org/apache/xalan/xsltc/compiler/TestSeq.html#line.214"><B>compile</B></A>(<A HREF="../../../../../org/apache/xalan/xsltc/compiler/util/ClassGenerator.html" title="class in org.apache.xalan.xsltc.compiler.util">ClassGenerator</A> classGen, | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/util/MethodGenerator.html" title="class in org.apache.xalan.xsltc.compiler.util">MethodGenerator</A> methodGen, | |
InstructionHandle continuation)</PRE> | |
<DL> | |
<DD>Compile the code for this test sequence. Compile patterns | |
from highest to lowest priority. Note that since patterns | |
can be share by multiple test sequences, instruction lists | |
must be copied before backpatching. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<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/TestSeq.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"> | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html" title="class in org.apache.xalan.xsltc.compiler"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Text.html" title="class in org.apache.xalan.xsltc.compiler"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xalan/xsltc/compiler/TestSeq.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="TestSeq.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |