Java Doc for XRTreeFrag.java in  » XML » xalan » org » apache » xpath » objects » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML » xalan » org.apache.xpath.objects 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xpath.Expression
      org.apache.xpath.objects.XObject
         org.apache.xpath.objects.XRTreeFrag

All known Subclasses:   org.apache.xpath.objects.XRTreeFragSelectWrapper,
XRTreeFrag
public class XRTreeFrag extends XObject implements Cloneable(Code)
This class represents an XPath result tree fragment object, and is capable of converting the RTF to other types, such as a string.


Field Summary
protected  booleanm_allowRelease
    
final static  longserialVersionUID
    

Constructor Summary
public  XRTreeFrag(int root, XPathContext xctxt, ExpressionNode parent)
     Create an XRTreeFrag Object.
public  XRTreeFrag(int root, XPathContext xctxt)
     Create an XRTreeFrag Object.
public  XRTreeFrag(Expression expr)
     Create an XRTreeFrag Object.

Method Summary
public  voidallowDetachToRelease(boolean allowRelease)
     Specify if it's OK for detach to release the iterator for reuse.
public  voidappendToFsb(org.apache.xml.utils.FastStringBuffer fsb)
     Cast result object to a string.
public  DTMIteratorasNodeIterator()
     Cast result object to a DTMIterator.
public  booleanbool()
     Cast result object to a boolean.
public  NodeListconvertToNodeset()
     Cast result object to a nodelist.
public  voiddetach()
     Detaches the DTMIterator from the set which it iterated over, releasing any computational resources and placing the iterator in the INVALID state.
public  booleanequals(XObject obj2)
     Tell if two objects are functionally equal.
public  intgetType()
     Tell what kind of class this is.
public  StringgetTypeString()
     Given a request type, return the equivalent string.
public  doublenum()
     Cast result object to a number.
public  Objectobject()
     Return a java object that's closest to the representation that should be handed to an extension.
public  intrtf()
     Cast result object to a result tree fragment.
public  Stringstr()
     Cast result object to a string. The document fragment node data or the empty string.
public  XMLStringxstr()
     Cast result object to an XMLString. The document fragment node data or the empty string.

Field Detail
m_allowRelease
protected boolean m_allowRelease(Code)



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
XRTreeFrag
public XRTreeFrag(int root, XPathContext xctxt, ExpressionNode parent)(Code)
Create an XRTreeFrag Object.



XRTreeFrag
public XRTreeFrag(int root, XPathContext xctxt)(Code)
Create an XRTreeFrag Object.



XRTreeFrag
public XRTreeFrag(Expression expr)(Code)
Create an XRTreeFrag Object.




Method Detail
allowDetachToRelease
public void allowDetachToRelease(boolean allowRelease)(Code)
Specify if it's OK for detach to release the iterator for reuse.
Parameters:
  allowRelease - true if it is OK for detach to release this iterator for pooling.



appendToFsb
public void appendToFsb(org.apache.xml.utils.FastStringBuffer fsb)(Code)
Cast result object to a string. The string this wraps or the empty string if null



asNodeIterator
public DTMIterator asNodeIterator()(Code)
Cast result object to a DTMIterator. dml - modified to return an RTFIterator for benefit of EXSLT object-type function in org.apache.xalan.lib.ExsltCommon . The document fragment as a DTMIterator



bool
public boolean bool()(Code)
Cast result object to a boolean. This always returns true for a RTreeFrag because it is treated like a node-set with a single root node. true



convertToNodeset
public NodeList convertToNodeset()(Code)
Cast result object to a nodelist. (special function). The document fragment as a nodelist



detach
public void detach()(Code)
Detaches the DTMIterator from the set which it iterated over, releasing any computational resources and placing the iterator in the INVALID state. After detach has been invoked, calls to nextNode or previousNode will raise a runtime exception. In general, detach should only be called once on the object.



equals
public boolean equals(XObject obj2)(Code)
Tell if two objects are functionally equal.
Parameters:
  obj2 - Object to compare this to True if the two objects are equal
throws:
  javax.xml.transform.TransformerException -



getType
public int getType()(Code)
Tell what kind of class this is. type CLASS_RTREEFRAG



getTypeString
public String getTypeString()(Code)
Given a request type, return the equivalent string. For diagnostic purposes. type string "#RTREEFRAG"



num
public double num() throws javax.xml.transform.TransformerException(Code)
Cast result object to a number. The result tree fragment as a number or NaN



object
public Object object()(Code)
Return a java object that's closest to the representation that should be handed to an extension. The object that this class wraps



rtf
public int rtf()(Code)
Cast result object to a result tree fragment. The document fragment this wraps



str
public String str()(Code)
Cast result object to a string. The document fragment node data or the empty string.



xstr
public XMLString xstr()(Code)
Cast result object to an XMLString. The document fragment node data or the empty string.



Fields inherited from org.apache.xpath.objects.XObject
final public static int CLASS_BOOLEAN(Code)(Java Doc)
final public static int CLASS_NODESET(Code)(Java Doc)
final public static int CLASS_NULL(Code)(Java Doc)
final public static int CLASS_NUMBER(Code)(Java Doc)
final public static int CLASS_RTREEFRAG(Code)(Java Doc)
final public static int CLASS_STRING(Code)(Java Doc)
final public static int CLASS_UNKNOWN(Code)(Java Doc)
final public static int CLASS_UNRESOLVEDVARIABLE(Code)(Java Doc)
protected Object m_obj(Code)(Java Doc)
final static long serialVersionUID(Code)(Java Doc)

Methods inherited from org.apache.xpath.objects.XObject
public void allowDetachToRelease(boolean allowRelease)(Code)(Java Doc)
public void appendToFsb(org.apache.xml.utils.FastStringBuffer fsb)(Code)(Java Doc)
public boolean bool() throws javax.xml.transform.TransformerException(Code)(Java Doc)
public boolean boolWithSideEffects() throws javax.xml.transform.TransformerException(Code)(Java Doc)
public void callVisitors(ExpressionOwner owner, XPathVisitor visitor)(Code)(Java Doc)
public Object castToType(int t, XPathContext support) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public static XObject create(Object val)(Code)(Java Doc)
public static XObject create(Object val, XPathContext xctxt)(Code)(Java Doc)
public boolean deepEquals(Expression expr)(Code)(Java Doc)
public void destruct()(Code)(Java Doc)
public void detach()(Code)(Java Doc)
public void dispatchCharactersEvents(org.xml.sax.ContentHandler ch) throws org.xml.sax.SAXException(Code)(Java Doc)
public boolean equals(XObject obj2)(Code)(Java Doc)
protected void error(String msg) throws javax.xml.transform.TransformerException(Code)(Java Doc)
protected void error(String msg, Object[] args) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public void fixupVariables(java.util.Vector vars, int globalsSize)(Code)(Java Doc)
public XObject getFresh()(Code)(Java Doc)
public int getType()(Code)(Java Doc)
public String getTypeString()(Code)(Java Doc)
public boolean greaterThan(XObject obj2) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public boolean greaterThanOrEqual(XObject obj2) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public DTMIterator iter() throws javax.xml.transform.TransformerException(Code)(Java Doc)
public boolean lessThan(XObject obj2) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public boolean lessThanOrEqual(XObject obj2) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public NodeSetDTM mutableNodeset() throws javax.xml.transform.TransformerException(Code)(Java Doc)
public NodeList nodelist() throws javax.xml.transform.TransformerException(Code)(Java Doc)
public NodeIterator nodeset() throws javax.xml.transform.TransformerException(Code)(Java Doc)
public boolean notEquals(XObject obj2) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public double num() throws javax.xml.transform.TransformerException(Code)(Java Doc)
public double numWithSideEffects() throws javax.xml.transform.TransformerException(Code)(Java Doc)
public Object object()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public int rtf(XPathContext support)(Code)(Java Doc)
public int rtf()(Code)(Java Doc)
public DocumentFragment rtree(XPathContext support)(Code)(Java Doc)
public DocumentFragment rtree()(Code)(Java Doc)
public String str()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public XMLString xstr()(Code)(Java Doc)

Methods inherited from org.apache.xpath.Expression
public DTMIterator asIterator(XPathContext xctxt, int contextNode) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public DTMIterator asIteratorRaw(XPathContext xctxt, int contextNode) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public int asNode(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public void assertion(boolean b, java.lang.String msg)(Code)(Java Doc)
public boolean bool(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public boolean canTraverseOutsideSubtree()(Code)(Java Doc)
abstract public boolean deepEquals(Expression expr)(Code)(Java Doc)
public void error(XPathContext xctxt, String msg, Object[] args) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public XObject execute(XPathContext xctxt, int currentNode) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public XObject execute(XPathContext xctxt, int currentNode, DTM dtm, int expType) throws javax.xml.transform.TransformerException(Code)(Java Doc)
abstract public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public XObject execute(XPathContext xctxt, boolean destructiveOK) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException(Code)(Java Doc)
public void exprAddChild(ExpressionNode n, int i)(Code)(Java Doc)
public ExpressionNode exprGetChild(int i)(Code)(Java Doc)
public int exprGetNumChildren()(Code)(Java Doc)
public ExpressionNode exprGetParent()(Code)(Java Doc)
public void exprSetParent(ExpressionNode n)(Code)(Java Doc)
abstract public void fixupVariables(java.util.Vector vars, int globalsSize)(Code)(Java Doc)
public int getColumnNumber()(Code)(Java Doc)
public ExpressionNode getExpressionOwner()(Code)(Java Doc)
public int getLineNumber()(Code)(Java Doc)
public String getPublicId()(Code)(Java Doc)
public String getSystemId()(Code)(Java Doc)
public boolean isNodesetExpr()(Code)(Java Doc)
final protected boolean isSameClass(Expression expr)(Code)(Java Doc)
public boolean isStableNumber()(Code)(Java Doc)
public double num(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public void warn(XPathContext xctxt, String msg, Object[] args) throws javax.xml.transform.TransformerException(Code)(Java Doc)
public XMLString xstr(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.