<!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:44 PDT 2012 --> | |
<TITLE> | |
XObject | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xpath.objects.XObject class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="XObject"; | |
} | |
</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/XObject.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/xpath/objects/XNumber.html" title="class in org.apache.xpath.objects"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xpath/objects/XObjectFactory.html" title="class in org.apache.xpath.objects"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xpath/objects/XObject.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="XObject.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.xpath.objects</FONT> | |
<BR> | |
Class XObject</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">org.apache.xpath.Expression</A> | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xpath.objects.XObject</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Cloneable, javax.xml.transform.SourceLocator, <A HREF="../../../../org/apache/xpath/ExpressionNode.html" title="interface in org.apache.xpath">ExpressionNode</A>, <A HREF="../../../../org/apache/xpath/XPathVisitable.html" title="interface in org.apache.xpath">XPathVisitable</A></DD> | |
</DL> | |
<DL> | |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xpath/axes/NodeSequence.html" title="class in org.apache.xpath.axes">NodeSequence</A>, <A HREF="../../../../org/apache/xpath/objects/XBoolean.html" title="class in org.apache.xpath.objects">XBoolean</A>, <A HREF="../../../../org/apache/xpath/objects/XNumber.html" title="class in org.apache.xpath.objects">XNumber</A>, <A HREF="../../../../org/apache/xpath/objects/XRTreeFrag.html" title="class in org.apache.xpath.objects">XRTreeFrag</A>, <A HREF="../../../../org/apache/xpath/objects/XString.html" title="class in org.apache.xpath.objects">XString</A>, <A HREF="../../../../org/apache/xalan/templates/XUnresolvedVariable.html" title="class in org.apache.xalan.templates">XUnresolvedVariable</A>, <A HREF="../../../../org/apache/xalan/templates/XUnresolvedVariableSimple.html" title="class in org.apache.xalan.templates">XUnresolvedVariableSimple</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.48"><B>XObject</B></A><DT>extends <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A><DT>implements java.io.Serializable, java.lang.Cloneable</DL> | |
</PRE> | |
<P> | |
This class represents an XPath object, and is capable of | |
converting the object to various types, such as a string. | |
This class acts as the base class to other XPath type objects, | |
such as XString, and provides polymorphic casting capabilities. | |
<P> | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.xpath.objects.XObject">Serialized Form</A></DL> | |
<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>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#CLASS_BOOLEAN">CLASS_BOOLEAN</A></B></CODE> | |
<BR> | |
Constant for BOOLEAN object type</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#CLASS_NODESET">CLASS_NODESET</A></B></CODE> | |
<BR> | |
Constant for NODESET object type</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#CLASS_NULL">CLASS_NULL</A></B></CODE> | |
<BR> | |
Constant for NULL object type</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#CLASS_NUMBER">CLASS_NUMBER</A></B></CODE> | |
<BR> | |
Constant for NUMBER object type</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#CLASS_RTREEFRAG">CLASS_RTREEFRAG</A></B></CODE> | |
<BR> | |
Constant for RESULT TREE FRAGMENT object type</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#CLASS_STRING">CLASS_STRING</A></B></CODE> | |
<BR> | |
Constant for STRING object type</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#CLASS_UNKNOWN">CLASS_UNKNOWN</A></B></CODE> | |
<BR> | |
Constant for UNKNOWN object type</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#CLASS_UNRESOLVEDVARIABLE">CLASS_UNRESOLVEDVARIABLE</A></B></CODE> | |
<BR> | |
Represents an unresolved variable type as an integer.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected java.lang.Object</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#m_obj">m_obj</A></B></CODE> | |
<BR> | |
The java object which this object wraps.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) static long</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#serialVersionUID">serialVersionUID</A></B></CODE> | |
<BR> | |
</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/xpath/objects/XObject.html#XObject()">XObject</A></B>()</CODE> | |
<BR> | |
Create an XObject.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#XObject(java.lang.Object)">XObject</A></B>(java.lang.Object obj)</CODE> | |
<BR> | |
Create an XObject.</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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#allowDetachToRelease(boolean)">allowDetachToRelease</A></B>(boolean allowRelease)</CODE> | |
<BR> | |
Specify if it's OK for detach to release the iterator for reuse.</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/xpath/objects/XObject.html#appendToFsb(org.apache.xml.utils.FastStringBuffer)">appendToFsb</A></B>(<A HREF="../../../../org/apache/xml/utils/FastStringBuffer.html" title="class in org.apache.xml.utils">FastStringBuffer</A> fsb)</CODE> | |
<BR> | |
Cast result object to a string.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#bool()">bool</A></B>()</CODE> | |
<BR> | |
Cast result object to a boolean.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#boolWithSideEffects()">boolWithSideEffects</A></B>()</CODE> | |
<BR> | |
Cast result object to a boolean, but allow side effects, such as the | |
incrementing of an iterator.</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/xpath/objects/XObject.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">callVisitors</A></B>(<A HREF="../../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</A> owner, | |
<A HREF="../../../../org/apache/xpath/XPathVisitor.html" title="class in org.apache.xpath">XPathVisitor</A> visitor)</CODE> | |
<BR> | |
This will traverse the heararchy, calling the visitor for | |
each member.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.Object</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#castToType(int, org.apache.xpath.XPathContext)">castToType</A></B>(int t, | |
<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> support)</CODE> | |
<BR> | |
Cast object to type t.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static <A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#create(java.lang.Object)">create</A></B>(java.lang.Object val)</CODE> | |
<BR> | |
Create the right XObject based on the type of the object passed.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static <A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#create(java.lang.Object, org.apache.xpath.XPathContext)">create</A></B>(java.lang.Object val, | |
<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> xctxt)</CODE> | |
<BR> | |
Create the right XObject based on the type of the object passed.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#deepEquals(org.apache.xpath.Expression)">deepEquals</A></B>(<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> expr)</CODE> | |
<BR> | |
Compare this object with another object and see | |
if they are equal, include the sub heararchy.</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/xpath/objects/XObject.html#destruct()">destruct</A></B>()</CODE> | |
<BR> | |
Forces the object to release it's resources.</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/xpath/objects/XObject.html#detach()">detach</A></B>()</CODE> | |
<BR> | |
Detaches the <code>DTMIterator</code> from the set which it iterated | |
over, releasing any computational resources and placing the iterator | |
in the INVALID state.</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/xpath/objects/XObject.html#dispatchCharactersEvents(org.xml.sax.ContentHandler)">dispatchCharactersEvents</A></B>(org.xml.sax.ContentHandler ch)</CODE> | |
<BR> | |
Directly call the | |
characters method on the passed ContentHandler for the | |
string-value.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#equals(org.apache.xpath.objects.XObject)">equals</A></B>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2)</CODE> | |
<BR> | |
Tell if two objects are functionally equal.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#error(java.lang.String)">error</A></B>(java.lang.String msg)</CODE> | |
<BR> | |
Tell the user of an error, and probably throw an | |
exception.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#error(java.lang.String, java.lang.Object[])">error</A></B>(java.lang.String msg, | |
java.lang.Object[] args)</CODE> | |
<BR> | |
Tell the user of an error, and probably throw an | |
exception.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#execute(org.apache.xpath.XPathContext)">execute</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> xctxt)</CODE> | |
<BR> | |
For support of literal objects in xpaths.</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/xpath/objects/XObject.html#fixupVariables(java.util.Vector, int)">fixupVariables</A></B>(java.util.Vector vars, | |
int globalsSize)</CODE> | |
<BR> | |
XObjects should not normally need to fix up variables.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#getFresh()">getFresh</A></B>()</CODE> | |
<BR> | |
Get a fresh copy of the object.</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/xpath/objects/XObject.html#getType()">getType</A></B>()</CODE> | |
<BR> | |
Tell what kind of class this is.</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/xpath/objects/XObject.html#getTypeString()">getTypeString</A></B>()</CODE> | |
<BR> | |
Given a request type, return the equivalent string.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#greaterThan(org.apache.xpath.objects.XObject)">greaterThan</A></B>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2)</CODE> | |
<BR> | |
Tell if one object is greater than the other.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#greaterThanOrEqual(org.apache.xpath.objects.XObject)">greaterThanOrEqual</A></B>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2)</CODE> | |
<BR> | |
Tell if one object is greater than or equal to the other.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#iter()">iter</A></B>()</CODE> | |
<BR> | |
Cast result object to a nodelist.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#lessThan(org.apache.xpath.objects.XObject)">lessThan</A></B>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2)</CODE> | |
<BR> | |
Tell if one object is less than the other.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#lessThanOrEqual(org.apache.xpath.objects.XObject)">lessThanOrEqual</A></B>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2)</CODE> | |
<BR> | |
Tell if one object is less than or equal to the other.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xpath/NodeSetDTM.html" title="class in org.apache.xpath">NodeSetDTM</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#mutableNodeset()">mutableNodeset</A></B>()</CODE> | |
<BR> | |
Cast result object to a nodelist.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> org.w3c.dom.NodeList</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#nodelist()">nodelist</A></B>()</CODE> | |
<BR> | |
Cast result object to a nodelist.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> org.w3c.dom.traversal.NodeIterator</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#nodeset()">nodeset</A></B>()</CODE> | |
<BR> | |
Cast result object to a nodelist.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#notEquals(org.apache.xpath.objects.XObject)">notEquals</A></B>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2)</CODE> | |
<BR> | |
Tell if two objects are functionally not equal.</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/xpath/objects/XObject.html#num()">num</A></B>()</CODE> | |
<BR> | |
Cast result object to a number.</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/xpath/objects/XObject.html#numWithSideEffects()">numWithSideEffects</A></B>()</CODE> | |
<BR> | |
Cast result object to a number, but allow side effects, such as the | |
incrementing of an iterator.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.Object</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#object()">object</A></B>()</CODE> | |
<BR> | |
Return a java object that's closest to the representation | |
that should be handed to an extension.</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/xpath/objects/XObject.html#reset()">reset</A></B>()</CODE> | |
<BR> | |
Reset for fresh reuse.</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/xpath/objects/XObject.html#rtf()">rtf</A></B>()</CODE> | |
<BR> | |
For functions to override.</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/xpath/objects/XObject.html#rtf(org.apache.xpath.XPathContext)">rtf</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> support)</CODE> | |
<BR> | |
Cast result object to a result tree fragment.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> org.w3c.dom.DocumentFragment</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#rtree()">rtree</A></B>()</CODE> | |
<BR> | |
For functions to override.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> org.w3c.dom.DocumentFragment</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#rtree(org.apache.xpath.XPathContext)">rtree</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> support)</CODE> | |
<BR> | |
Cast result object to a result tree fragment.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#setObject(java.lang.Object)">setObject</A></B>(java.lang.Object obj)</CODE> | |
<BR> | |
</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/xpath/objects/XObject.html#str()">str</A></B>()</CODE> | |
<BR> | |
Cast result object to 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/xpath/objects/XObject.html#toString()">toString</A></B>()</CODE> | |
<BR> | |
Return the string representation of the object</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xml/utils/XMLString.html" title="interface in org.apache.xml.utils">XMLString</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/objects/XObject.html#xstr()">xstr</A></B>()</CODE> | |
<BR> | |
Cast result object to a string.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_org.apache.xpath.Expression"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class org.apache.xpath.<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/xpath/Expression.html#asIterator(org.apache.xpath.XPathContext, int)">asIterator</A>, <A HREF="../../../../org/apache/xpath/Expression.html#asIteratorRaw(org.apache.xpath.XPathContext, int)">asIteratorRaw</A>, <A HREF="../../../../org/apache/xpath/Expression.html#asNode(org.apache.xpath.XPathContext)">asNode</A>, <A HREF="../../../../org/apache/xpath/Expression.html#assertion(boolean, java.lang.String)">assertion</A>, <A HREF="../../../../org/apache/xpath/Expression.html#bool(org.apache.xpath.XPathContext)">bool</A>, <A HREF="../../../../org/apache/xpath/Expression.html#canTraverseOutsideSubtree()">canTraverseOutsideSubtree</A>, <A HREF="../../../../org/apache/xpath/Expression.html#error(org.apache.xpath.XPathContext, java.lang.String, java.lang.Object[])">error</A>, <A HREF="../../../../org/apache/xpath/Expression.html#execute(org.apache.xpath.XPathContext, boolean)">execute</A>, <A HREF="../../../../org/apache/xpath/Expression.html#execute(org.apache.xpath.XPathContext, int)">execute</A>, <A HREF="../../../../org/apache/xpath/Expression.html#execute(org.apache.xpath.XPathContext, int, org.apache.xml.dtm.DTM, int)">execute</A>, <A HREF="../../../../org/apache/xpath/Expression.html#executeCharsToContentHandler(org.apache.xpath.XPathContext, org.xml.sax.ContentHandler)">executeCharsToContentHandler</A>, <A HREF="../../../../org/apache/xpath/Expression.html#exprAddChild(org.apache.xpath.ExpressionNode, int)">exprAddChild</A>, <A HREF="../../../../org/apache/xpath/Expression.html#exprGetChild(int)">exprGetChild</A>, <A HREF="../../../../org/apache/xpath/Expression.html#exprGetNumChildren()">exprGetNumChildren</A>, <A HREF="../../../../org/apache/xpath/Expression.html#exprGetParent()">exprGetParent</A>, <A HREF="../../../../org/apache/xpath/Expression.html#exprSetParent(org.apache.xpath.ExpressionNode)">exprSetParent</A>, <A HREF="../../../../org/apache/xpath/Expression.html#getColumnNumber()">getColumnNumber</A>, <A HREF="../../../../org/apache/xpath/Expression.html#getExpressionOwner()">getExpressionOwner</A>, <A HREF="../../../../org/apache/xpath/Expression.html#getLineNumber()">getLineNumber</A>, <A HREF="../../../../org/apache/xpath/Expression.html#getPublicId()">getPublicId</A>, <A HREF="../../../../org/apache/xpath/Expression.html#getSystemId()">getSystemId</A>, <A HREF="../../../../org/apache/xpath/Expression.html#isNodesetExpr()">isNodesetExpr</A>, <A HREF="../../../../org/apache/xpath/Expression.html#isSameClass(org.apache.xpath.Expression)">isSameClass</A>, <A HREF="../../../../org/apache/xpath/Expression.html#isStableNumber()">isStableNumber</A>, <A HREF="../../../../org/apache/xpath/Expression.html#num(org.apache.xpath.XPathContext)">num</A>, <A HREF="../../../../org/apache/xpath/Expression.html#warn(org.apache.xpath.XPathContext, java.lang.String, java.lang.Object[])">warn</A>, <A HREF="../../../../org/apache/xpath/Expression.html#xstr(org.apache.xpath.XPathContext)">xstr</A></CODE></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="serialVersionUID"><!-- --></A><H3> | |
serialVersionUID</H3> | |
<PRE> | |
static final long <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.50"><B>serialVersionUID</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.serialVersionUID">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="m_obj"><!-- --></A><H3> | |
m_obj</H3> | |
<PRE> | |
protected java.lang.Object <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.56"><B>m_obj</B></A></PRE> | |
<DL> | |
<DD>The java object which this object wraps. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="CLASS_NULL"><!-- --></A><H3> | |
CLASS_NULL</H3> | |
<PRE> | |
public static final int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.184"><B>CLASS_NULL</B></A></PRE> | |
<DL> | |
<DD>Constant for NULL object type | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.CLASS_NULL">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="CLASS_UNKNOWN"><!-- --></A><H3> | |
CLASS_UNKNOWN</H3> | |
<PRE> | |
public static final int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.187"><B>CLASS_UNKNOWN</B></A></PRE> | |
<DL> | |
<DD>Constant for UNKNOWN object type | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.CLASS_UNKNOWN">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="CLASS_BOOLEAN"><!-- --></A><H3> | |
CLASS_BOOLEAN</H3> | |
<PRE> | |
public static final int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.190"><B>CLASS_BOOLEAN</B></A></PRE> | |
<DL> | |
<DD>Constant for BOOLEAN object type | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.CLASS_BOOLEAN">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="CLASS_NUMBER"><!-- --></A><H3> | |
CLASS_NUMBER</H3> | |
<PRE> | |
public static final int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.193"><B>CLASS_NUMBER</B></A></PRE> | |
<DL> | |
<DD>Constant for NUMBER object type | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.CLASS_NUMBER">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="CLASS_STRING"><!-- --></A><H3> | |
CLASS_STRING</H3> | |
<PRE> | |
public static final int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.196"><B>CLASS_STRING</B></A></PRE> | |
<DL> | |
<DD>Constant for STRING object type | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.CLASS_STRING">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="CLASS_NODESET"><!-- --></A><H3> | |
CLASS_NODESET</H3> | |
<PRE> | |
public static final int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.199"><B>CLASS_NODESET</B></A></PRE> | |
<DL> | |
<DD>Constant for NODESET object type | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.CLASS_NODESET">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="CLASS_RTREEFRAG"><!-- --></A><H3> | |
CLASS_RTREEFRAG</H3> | |
<PRE> | |
public static final int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.202"><B>CLASS_RTREEFRAG</B></A></PRE> | |
<DL> | |
<DD>Constant for RESULT TREE FRAGMENT object type | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.CLASS_RTREEFRAG">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="CLASS_UNRESOLVEDVARIABLE"><!-- --></A><H3> | |
CLASS_UNRESOLVEDVARIABLE</H3> | |
<PRE> | |
public static final int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.205"><B>CLASS_UNRESOLVEDVARIABLE</B></A></PRE> | |
<DL> | |
<DD>Represents an unresolved variable type as an integer. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.objects.XObject.CLASS_UNRESOLVEDVARIABLE">Constant Field Values</A></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="XObject()"><!-- --></A><H3> | |
XObject</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.61"><B>XObject</B></A>()</PRE> | |
<DL> | |
<DD>Create an XObject. | |
<P> | |
</DL> | |
<HR> | |
<A NAME="XObject(java.lang.Object)"><!-- --></A><H3> | |
XObject</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.69"><B>XObject</B></A>(java.lang.Object obj)</PRE> | |
<DL> | |
<DD>Create an XObject. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - Can be any object, should be a specific type | |
for derived classes, or null.</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="setObject(java.lang.Object)"><!-- --></A><H3> | |
setObject</H3> | |
<PRE> | |
protected void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.74"><B>setObject</B></A>(java.lang.Object obj)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="execute(org.apache.xpath.XPathContext)"><!-- --></A><H3> | |
execute</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.87"><B>execute</B></A>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> xctxt) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>For support of literal objects in xpaths. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/Expression.html#execute(org.apache.xpath.XPathContext)">execute</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>xctxt</CODE> - The XPath execution context. | |
<DT><B>Returns:</B><DD>This object. | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="allowDetachToRelease(boolean)"><!-- --></A><H3> | |
allowDetachToRelease</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.103"><B>allowDetachToRelease</B></A>(boolean allowRelease)</PRE> | |
<DL> | |
<DD>Specify if it's OK for detach to release the iterator for reuse. | |
This function should be called with a value of false for objects that are | |
stored in variables. | |
Calling this with a value of false on a XNodeSet will cause the nodeset | |
to be cached. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>allowRelease</CODE> - true if it is OK for detach to release this iterator | |
for pooling.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="detach()"><!-- --></A><H3> | |
detach</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.112"><B>detach</B></A>()</PRE> | |
<DL> | |
<DD>Detaches the <code>DTMIterator</code> from the set which it iterated | |
over, releasing any computational resources and placing the iterator | |
in the INVALID state. After <code>detach</code> has been invoked, | |
calls to <code>nextNode</code> or <code>previousNode</code> will | |
raise a runtime exception. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="destruct()"><!-- --></A><H3> | |
destruct</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.118"><B>destruct</B></A>()</PRE> | |
<DL> | |
<DD>Forces the object to release it's resources. This is more harsh than | |
detach(). | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="reset()"><!-- --></A><H3> | |
reset</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.133"><B>reset</B></A>()</PRE> | |
<DL> | |
<DD>Reset for fresh reuse. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="dispatchCharactersEvents(org.xml.sax.ContentHandler)"><!-- --></A><H3> | |
dispatchCharactersEvents</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.148"><B>dispatchCharactersEvents</B></A>(org.xml.sax.ContentHandler ch) | |
throws org.xml.sax.SAXException</PRE> | |
<DL> | |
<DD>Directly call the | |
characters method on the passed ContentHandler for the | |
string-value. Multiple calls to the | |
ContentHandler's characters methods may well occur for a single call to | |
this method. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - A non-null reference to a ContentHandler. | |
<DT><B>Throws:</B> | |
<DD><CODE>org.xml.sax.SAXException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="create(java.lang.Object)"><!-- --></A><H3> | |
create</H3> | |
<PRE> | |
public static <A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.163"><B>create</B></A>(java.lang.Object val)</PRE> | |
<DL> | |
<DD>Create the right XObject based on the type of the object passed. This | |
function can not make an XObject that exposes DOM Nodes, NodeLists, and | |
NodeIterators to the XSLT stylesheet as node-sets. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>val</CODE> - The java object which this object will wrap. | |
<DT><B>Returns:</B><DD>the right XObject based on the type of the object passed.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="create(java.lang.Object, org.apache.xpath.XPathContext)"><!-- --></A><H3> | |
create</H3> | |
<PRE> | |
public static <A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.178"><B>create</B></A>(java.lang.Object val, | |
<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> xctxt)</PRE> | |
<DL> | |
<DD>Create the right XObject based on the type of the object passed. | |
This function <emph>can</emph> make an XObject that exposes DOM Nodes, NodeLists, and | |
NodeIterators to the XSLT stylesheet as node-sets. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>val</CODE> - The java object which this object will wrap.<DD><CODE>xctxt</CODE> - The XPath context. | |
<DT><B>Returns:</B><DD>the right XObject based on the type of the object passed.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getType()"><!-- --></A><H3> | |
getType</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.212"><B>getType</B></A>()</PRE> | |
<DL> | |
<DD>Tell what kind of class this is. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>CLASS_UNKNOWN</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getTypeString()"><!-- --></A><H3> | |
getTypeString</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.223"><B>getTypeString</B></A>()</PRE> | |
<DL> | |
<DD>Given a request type, return the equivalent string. | |
For diagnostic purposes. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>type string "#UNKNOWN" + object class name</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="num()"><!-- --></A><H3> | |
num</H3> | |
<PRE> | |
public double <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.235"><B>num</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast result object to a number. Always issues an error. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>0.0 | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="numWithSideEffects()"><!-- --></A><H3> | |
numWithSideEffects</H3> | |
<PRE> | |
public double <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.251"><B>numWithSideEffects</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast result object to a number, but allow side effects, such as the | |
incrementing of an iterator. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>numeric value of the string conversion from the | |
next node in the NodeSetDTM, or NAN if no node was found | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="bool()"><!-- --></A><H3> | |
bool</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.263"><B>bool</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast result object to a boolean. Always issues an error. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>false | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="boolWithSideEffects()"><!-- --></A><H3> | |
boolWithSideEffects</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.278"><B>boolWithSideEffects</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast result object to a boolean, but allow side effects, such as the | |
incrementing of an iterator. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>True if there is a next node in the nodeset | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="xstr()"><!-- --></A><H3> | |
xstr</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/xml/utils/XMLString.html" title="interface in org.apache.xml.utils">XMLString</A> <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.289"><B>xstr</B></A>()</PRE> | |
<DL> | |
<DD>Cast result object to a string. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The string this wraps or the empty string if null</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="str()"><!-- --></A><H3> | |
str</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.299"><B>str</B></A>()</PRE> | |
<DL> | |
<DD>Cast result object to a string. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The object as a string</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="toString()"><!-- --></A><H3> | |
toString</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.310"><B>toString</B></A>()</PRE> | |
<DL> | |
<DD>Return the string representation of the object | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the string representation of the object</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="rtf(org.apache.xpath.XPathContext)"><!-- --></A><H3> | |
rtf</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.322"><B>rtf</B></A>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> support)</PRE> | |
<DL> | |
<DD>Cast result object to a result tree fragment. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>support</CODE> - XPath context to use for the conversion | |
<DT><B>Returns:</B><DD>the objec as a result tree fragment.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="rtree(org.apache.xpath.XPathContext)"><!-- --></A><H3> | |
rtree</H3> | |
<PRE> | |
public org.w3c.dom.DocumentFragment <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.347"><B>rtree</B></A>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> support)</PRE> | |
<DL> | |
<DD>Cast result object to a result tree fragment. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>support</CODE> - XPath context to use for the conversion | |
<DT><B>Returns:</B><DD>the objec as a result tree fragment.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="rtree()"><!-- --></A><H3> | |
rtree</H3> | |
<PRE> | |
public org.w3c.dom.DocumentFragment <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.376"><B>rtree</B></A>()</PRE> | |
<DL> | |
<DD>For functions to override. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>null</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="rtf()"><!-- --></A><H3> | |
rtf</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.386"><B>rtf</B></A>()</PRE> | |
<DL> | |
<DD>For functions to override. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>null</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="object()"><!-- --></A><H3> | |
object</H3> | |
<PRE> | |
public java.lang.Object <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.397"><B>object</B></A>()</PRE> | |
<DL> | |
<DD>Return a java object that's closest to the representation | |
that should be handed to an extension. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The object that this class wraps</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="iter()"><!-- --></A><H3> | |
iter</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A> <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.409"><B>iter</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast result object to a nodelist. Always issues an error. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>null | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFresh()"><!-- --></A><H3> | |
getFresh</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.423"><B>getFresh</B></A>()</PRE> | |
<DL> | |
<DD>Get a fresh copy of the object. For use with variables. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>This object, unless overridden by subclass.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="nodeset()"><!-- --></A><H3> | |
nodeset</H3> | |
<PRE> | |
public org.w3c.dom.traversal.NodeIterator <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.436"><B>nodeset</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast result object to a nodelist. Always issues an error. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>null | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="nodelist()"><!-- --></A><H3> | |
nodelist</H3> | |
<PRE> | |
public org.w3c.dom.NodeList <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.452"><B>nodelist</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast result object to a nodelist. Always issues an error. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>null | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="mutableNodeset()"><!-- --></A><H3> | |
mutableNodeset</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/xpath/NodeSetDTM.html" title="class in org.apache.xpath">NodeSetDTM</A> <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.469"><B>mutableNodeset</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast result object to a nodelist. Always issues an error. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The object as a NodeSetDTM. | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="castToType(int, org.apache.xpath.XPathContext)"><!-- --></A><H3> | |
castToType</H3> | |
<PRE> | |
public java.lang.Object <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.489"><B>castToType</B></A>(int t, | |
<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> support) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Cast object to type t. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>t</CODE> - Type of object to cast this to<DD><CODE>support</CODE> - XPath context to use for the conversion | |
<DT><B>Returns:</B><DD>This object as the given type t | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="lessThan(org.apache.xpath.objects.XObject)"><!-- --></A><H3> | |
lessThan</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.537"><B>lessThan</B></A>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Tell if one object is less than the other. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>obj2</CODE> - Object to compare this to | |
<DT><B>Returns:</B><DD>True if this object is less than the given object | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="lessThanOrEqual(org.apache.xpath.objects.XObject)"><!-- --></A><H3> | |
lessThanOrEqual</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.561"><B>lessThanOrEqual</B></A>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Tell if one object is less than or equal to the other. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>obj2</CODE> - Object to compare this to | |
<DT><B>Returns:</B><DD>True if this object is less than or equal to the given object | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="greaterThan(org.apache.xpath.objects.XObject)"><!-- --></A><H3> | |
greaterThan</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.585"><B>greaterThan</B></A>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Tell if one object is greater than the other. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>obj2</CODE> - Object to compare this to | |
<DT><B>Returns:</B><DD>True if this object is greater than the given object | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="greaterThanOrEqual(org.apache.xpath.objects.XObject)"><!-- --></A><H3> | |
greaterThanOrEqual</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.609"><B>greaterThanOrEqual</B></A>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Tell if one object is greater than or equal to the other. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>obj2</CODE> - Object to compare this to | |
<DT><B>Returns:</B><DD>True if this object is greater than or equal to the given object | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="equals(org.apache.xpath.objects.XObject)"><!-- --></A><H3> | |
equals</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.633"><B>equals</B></A>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2)</PRE> | |
<DL> | |
<DD>Tell if two objects are functionally equal. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>obj2</CODE> - Object to compare this to | |
<DT><B>Returns:</B><DD>True if this object is equal to the given object | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="notEquals(org.apache.xpath.objects.XObject)"><!-- --></A><H3> | |
notEquals</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.661"><B>notEquals</B></A>(<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> obj2) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Tell if two objects are functionally not equal. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>obj2</CODE> - Object to compare this to | |
<DT><B>Returns:</B><DD>True if this object is not equal to the given object | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="error(java.lang.String)"><!-- --></A><H3> | |
error</H3> | |
<PRE> | |
protected void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.682"><B>error</B></A>(java.lang.String msg) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Tell the user of an error, and probably throw an | |
exception. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - Error message to issue | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="error(java.lang.String, java.lang.Object[])"><!-- --></A><H3> | |
error</H3> | |
<PRE> | |
protected void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.697"><B>error</B></A>(java.lang.String msg, | |
java.lang.Object[] args) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Tell the user of an error, and probably throw an | |
exception. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - Error message to issue<DD><CODE>args</CODE> - Arguments to use in the message | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="fixupVariables(java.util.Vector, int)"><!-- --></A><H3> | |
fixupVariables</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.717"><B>fixupVariables</B></A>(java.util.Vector vars, | |
int globalsSize)</PRE> | |
<DL> | |
<DD>XObjects should not normally need to fix up variables. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/Expression.html#fixupVariables(java.util.Vector, int)">fixupVariables</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>vars</CODE> - List of QNames that correspond to variables. This list | |
should be searched backwards for the first qualified name that | |
corresponds to the variable reference qname. The position of the | |
QName in the vector from the start of the vector will be its position | |
in the stack frame (but variables above the globalsTop value will need | |
to be offset to the current stack frame). | |
NEEDSDOC @param globalsSize</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="appendToFsb(org.apache.xml.utils.FastStringBuffer)"><!-- --></A><H3> | |
appendToFsb</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.730"><B>appendToFsb</B></A>(<A HREF="../../../../org/apache/xml/utils/FastStringBuffer.html" title="class in org.apache.xml.utils">FastStringBuffer</A> fsb)</PRE> | |
<DL> | |
<DD>Cast result object to a string. | |
NEEDSDOC @param fsb | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)"><!-- --></A><H3> | |
callVisitors</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.738"><B>callVisitors</B></A>(<A HREF="../../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</A> owner, | |
<A HREF="../../../../org/apache/xpath/XPathVisitor.html" title="class in org.apache.xpath">XPathVisitor</A> visitor)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xpath/XPathVisitable.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">XPathVisitable</A></CODE></B></DD> | |
<DD>This will traverse the heararchy, calling the visitor for | |
each member. If the called visitor method returns | |
false, the subtree should not be called. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/XPathVisitable.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">callVisitors</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xpath/XPathVisitable.html" title="interface in org.apache.xpath">XPathVisitable</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>owner</CODE> - The owner of the visitor, where that path may be | |
rewritten if needed.<DD><CODE>visitor</CODE> - The visitor whose appropriate method will be called.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/xpath/XPathVisitable.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)"><CODE>XPathVisitable.callVisitors(ExpressionOwner, XPathVisitor)</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="deepEquals(org.apache.xpath.Expression)"><!-- --></A><H3> | |
deepEquals</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/objects/XObject.html#line.745"><B>deepEquals</B></A>(<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> expr)</PRE> | |
<DL> | |
<DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/xpath/Expression.html#deepEquals(org.apache.xpath.Expression)">Expression</A></CODE></B></DD> | |
<DD>Compare this object with another object and see | |
if they are equal, include the sub heararchy. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/Expression.html#deepEquals(org.apache.xpath.Expression)">deepEquals</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>expr</CODE> - Another expression object. | |
<DT><B>Returns:</B><DD>true if this objects class and the expr | |
object's class are the same, and the data contained | |
within both objects are considered equal.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/xpath/Expression.html#deepEquals(org.apache.xpath.Expression)"><CODE>Expression.deepEquals(Expression)</CODE></A></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/XObject.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/xpath/objects/XNumber.html" title="class in org.apache.xpath.objects"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xpath/objects/XObjectFactory.html" title="class in org.apache.xpath.objects"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xpath/objects/XObject.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="XObject.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> |