Java Doc for XPathContext.java in  » XML » xalan » org » apache » xpath » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xml.dtm.DTMManager
      org.apache.xpath.XPathContext

XPathContext
public class XPathContext extends DTMManager (Code)
Default class for the runtime execution context for XPath.

This class extends DTMManager but does not directly implement it.


Inner Class :public class XPathExpressionContext implements ExpressionContext

Field Summary
final public static  intRECURSIONLIMIT
     The ammount to use for stacks that record information during the recursive execution.
 XPathExpressionContextexpressionContext
    
protected  DTMManagerm_dtmManager
     Though XPathContext context extends the DTMManager, it really is a proxy for this object, which is the real DTMManager.
 IntStackm_last_pushed_rtfdtm
    
public  XMLReaderm_primaryReader
     The reader of the primary source tree.
 ObjectStackm_saxLocations
     The current stylesheet locator.

Constructor Summary
public  XPathContext()
     Create an XPathContext instance.
public  XPathContext(Object owner)
     Create an XPathContext instance.

Method Summary
public  DTMIteratorcreateDTMIterator(Object xpathCompiler, int pos)
     Create a new DTMIterator based on an XPath UnionExpr.
Parameters:
  xpathCompiler - ??? Somehow we need to pass in a subpart of theexpression.
public  DTMIteratorcreateDTMIterator(String xpathString, PrefixResolver presolver)
     Create a new DTMIterator based on an XPath UnionExpr.
Parameters:
  xpathString - Must be a valid string expressing aUnionExpr.
Parameters:
  presolver - An object that can resolve prefixes to namespace URLs.
public  DTMIteratorcreateDTMIterator(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion)
     Create a new DTMIterator based only on a whatToShow and a DTMFilter.
public  DTMIteratorcreateDTMIterator(int node)
     Create a new DTMIterator that holds exactly one node.
Parameters:
  node - The node handle that the DTMIterator will iterate to.
public  DTMcreateDocumentFragment()
     Creates an empty DocumentFragment object.
public  StackgetAxesIteratorStackStacks()
    
final public  intgetContextNode()
     Get the current context node.
final public  DTMIteratorgetContextNodeList()
     Get the current context node list.
public  StackgetContextNodeListsStack()
    
final public  DTMIteratorgetContextNodes()
     Get the current context node list.
final public  intgetCurrentExpressionNode()
     Get the current node that is the expression's context (i.e.
public  IntStackgetCurrentExpressionNodeStack()
    
final public  intgetCurrentNode()
     Get the current context node.
public  org.apache.xpath.axes.SubContextListgetCurrentNodeList()
     Get the current node list as defined by the XSLT spec.
public  IntStackgetCurrentNodeStack()
    
public  DTMgetDTM(javax.xml.transform.Source source, boolean unique, DTMWSFilter wsfilter, boolean incremental, boolean doIndexing)
     Get an instance of a DTM, loaded with the content from the specified source.
public  DTMgetDTM(int nodeHandle)
     Get an instance of a DTM that "owns" a node handle.
public  intgetDTMHandleFromNode(org.w3c.dom.Node node)
     Given a W3C DOM node, try and return a DTM handle. Note: calling this may be non-optimal.
Parameters:
  node - Non-null reference to a DOM node.
public  intgetDTMIdentity(DTM dtm)
    
public  DTMManagergetDTMManager()
     Return the DTMManager object.
public  DTMXRTreeFraggetDTMXRTreeFrag(int dtmIdentity)
     Gets DTMXRTreeFrag object if one has already been created. Creates new DTMXRTreeFrag object and adds to m_DTMXRTreeFrags HashMap, otherwise.
final public  ErrorListenergetErrorListener()
     Get the ErrorListener where errors and warnings are to be reported.
public  ExpressionContextgetExpressionContext()
     The the expression context for extensions for this context.
public  DTMgetGlobalRTFDTM()
     Get a DTM to be used as a container for a global Result Tree Fragment.
final public  intgetIteratorRoot()
     Get the current location path iterator root.
final public  PrefixResolvergetNamespaceContext()
     Get the current namespace context for the xpath.
public  ObjectgetOwnerObject()
     Get the "owner" context of this context, which should be, in the case of XSLT, the Transformer object.
final public  intgetPredicatePos()
    
final public  intgetPredicateRoot()
     Get the current predicate root.
final public  XMLReadergetPrimaryReader()
     Get primary XMLReader associated with this execution context.
public  DTMgetRTFDTM()
     Get a DTM to be used as a container for a dynamic Result Tree Fragment.
public  SourceLocatorgetSAXLocator()
     Get the current locater in the stylesheet.
final public  SourceTreeManagergetSourceTreeManager()
     Get the SourceTreeManager associated with this execution context.
public  SubContextListgetSubContextList()
     Get the current axes iterator, or return null if none.
final public  URIResolvergetURIResolver()
     Get the URIResolver associated with this execution context.
final public  VariableStackgetVarStack()
     Get the variable stack, which is in charge of variables and parameters.
public  booleanisSecureProcessing()
    
final public  voidpopContextNodeList()
     Pop the current context node list.
final public  voidpopCurrentExpressionNode()
     Pop the current node that is the expression's context (i.e.
final public  voidpopCurrentNode()
     Pop the current context node.
final public  voidpopCurrentNodeAndExpression()
     Set the current context node.
final public  voidpopExpressionState()
     Pop the current context node, expression node, and prefix resolver.
final public  voidpopIteratorRoot()
     Pop the current location path iterator root.
final public  voidpopNamespaceContext()
     Pop the current namespace context for the xpath.
final public  voidpopPredicatePos()
    
final public  voidpopPredicateRoot()
     Pop the current predicate root.
public  voidpopRTFContext()
     Pop the RTFDTM's context mark.
public  voidpopSAXLocator()
     Pop the current locater.
final public  voidpopSubContextList()
     Pop the last pushed axes iterator.
final public  voidpushContextNodeList(DTMIterator nl)
     Set the current context node list.
final public  voidpushCurrentExpressionNode(int n)
     Set the current node that is the expression's context (i.e.
final public  voidpushCurrentNode(int n)
     Set the current context node.
final public  voidpushCurrentNodeAndExpression(int cn, int en)
     Set the current context node and expression node.
final public  voidpushExpressionState(int cn, int en, PrefixResolver nc)
     Push the current context node, expression node, and prefix resolver.
final public  voidpushIteratorRoot(int n)
     Set the current location path iterator root.
final public  voidpushNamespaceContext(PrefixResolver pr)
     Push a current namespace context for the xpath.
final public  voidpushNamespaceContextNull()
     Just increment the namespace contest stack, so that setNamespaceContext can be used on the slot.
final public  voidpushPredicatePos(int n)
    
final public  voidpushPredicateRoot(int n)
     Set the current predicate root.
public  voidpushRTFContext()
     Push the RTFDTM's context mark, to allows discarding RTFs added after this point.
public  voidpushSAXLocator(SourceLocator location)
     Set the current locater in the stylesheet.
public  voidpushSAXLocatorNull()
     Push a slot on the locations stack so that setSAXLocator can be repeatedly called.
final public  voidpushSubContextList(SubContextList iter)
     Push a TreeWalker on the stack.
public  booleanrelease(DTM dtm, boolean shouldHardDelete)
     Release a DTM either to a lru pool, or completely remove reference. DTMs without system IDs are always hard deleted. State: experimental.
Parameters:
  dtm - The DTM to be released.
Parameters:
  shouldHardDelete - True if the DTM should be removed no matter what.
public  voidreset()
     Reset for new run.
public  voidsetAxesIteratorStackStacks(Stack s)
    
public  voidsetContextNodeListsStack(Stack s)
    
public  voidsetCurrentExpressionNodeStack(IntStack nv)
    
public  voidsetCurrentNodeStack(IntStack nv)
    
public  voidsetErrorListener(ErrorListener listener)
     Set the ErrorListener where errors and warnings are to be reported.
final public  voidsetNamespaceContext(PrefixResolver pr)
     Get the current namespace context for the xpath.
public  voidsetPrimaryReader(XMLReader reader)
     Set primary XMLReader associated with this execution context.
public  voidsetSAXLocator(SourceLocator location)
     Set the current locater in the stylesheet.
public  voidsetSecureProcessing(boolean flag)
    
public  voidsetSourceTreeManager(SourceTreeManager mgr)
     Set the SourceTreeManager associated with this execution context.
public  voidsetURIResolver(URIResolver resolver)
     Set the URIResolver associated with this execution context.
final public  voidsetVarStack(VariableStack varStack)
     Get the variable stack, which is in charge of variables and parameters.

Field Detail
RECURSIONLIMIT
final public static int RECURSIONLIMIT(Code)
The ammount to use for stacks that record information during the recursive execution.



expressionContext
XPathExpressionContext expressionContext(Code)



m_dtmManager
protected DTMManager m_dtmManager(Code)
Though XPathContext context extends the DTMManager, it really is a proxy for this object, which is the real DTMManager.



m_last_pushed_rtfdtm
IntStack m_last_pushed_rtfdtm(Code)



m_primaryReader
public XMLReader m_primaryReader(Code)
The reader of the primary source tree.



m_saxLocations
ObjectStack m_saxLocations(Code)
The current stylesheet locator.




Constructor Detail
XPathContext
public XPathContext()(Code)
Create an XPathContext instance.



XPathContext
public XPathContext(Object owner)(Code)
Create an XPathContext instance.
Parameters:
  owner - Value that can be retrieved via the getOwnerObject() method.
See Also:   XPathContext.getOwnerObject




Method Detail
createDTMIterator
public DTMIterator createDTMIterator(Object xpathCompiler, int pos)(Code)
Create a new DTMIterator based on an XPath UnionExpr.
Parameters:
  xpathCompiler - ??? Somehow we need to pass in a subpart of theexpression. I hate to do this with strings, since the larger expressionhas already been parsed.
Parameters:
  pos - The position in the expression. The newly created DTMIterator.



createDTMIterator
public DTMIterator createDTMIterator(String xpathString, PrefixResolver presolver)(Code)
Create a new DTMIterator based on an XPath UnionExpr.
Parameters:
  xpathString - Must be a valid string expressing aUnionExpr.
Parameters:
  presolver - An object that can resolve prefixes to namespace URLs. The newly created DTMIterator.



createDTMIterator
public DTMIterator createDTMIterator(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion)(Code)
Create a new DTMIterator based only on a whatToShow and a DTMFilter. The traversal semantics are defined as the descendant access.
Parameters:
  whatToShow - This flag specifies which node types may appear inthe logical view of the tree presented by the iterator. See thedescription of NodeFilter for the set of possibleSHOW_ values.These flags can be combined usingOR.
Parameters:
  filter - The NodeFilter to be used with thisTreeWalker, or null to indicate no filter.
Parameters:
  entityReferenceExpansion - The value of this flag determineswhether entity reference nodes are expanded. The newly created NodeIterator.



createDTMIterator
public DTMIterator createDTMIterator(int node)(Code)
Create a new DTMIterator that holds exactly one node.
Parameters:
  node - The node handle that the DTMIterator will iterate to. The newly created DTMIterator.



createDocumentFragment
public DTM createDocumentFragment()(Code)
Creates an empty DocumentFragment object. A new DocumentFragment handle.



getAxesIteratorStackStacks
public Stack getAxesIteratorStackStacks()(Code)



getContextNode
final public int getContextNode()(Code)
Get the current context node. The current context node.



getContextNodeList
final public DTMIterator getContextNodeList()(Code)
Get the current context node list. the current node list,also refered to here as a context node list.



getContextNodeListsStack
public Stack getContextNodeListsStack()(Code)



getContextNodes
final public DTMIterator getContextNodes()(Code)
Get the current context node list. An iterator for the current context list, asdefined in XSLT.



getCurrentExpressionNode
final public int getCurrentExpressionNode()(Code)
Get the current node that is the expression's context (i.e. for current() support). The current sub-expression node.



getCurrentExpressionNodeStack
public IntStack getCurrentExpressionNodeStack()(Code)



getCurrentNode
final public int getCurrentNode()(Code)
Get the current context node. the current node.



getCurrentNodeList
public org.apache.xpath.axes.SubContextList getCurrentNodeList()(Code)
Get the current node list as defined by the XSLT spec. the current node list.



getCurrentNodeStack
public IntStack getCurrentNodeStack()(Code)



getDTM
public DTM getDTM(javax.xml.transform.Source source, boolean unique, DTMWSFilter wsfilter, boolean incremental, boolean doIndexing)(Code)
Get an instance of a DTM, loaded with the content from the specified source. If the unique flag is true, a new instance will always be returned. Otherwise it is up to the DTMManager to return a new instance or an instance that it already created and may be being used by someone else. (I think more parameters will need to be added for error handling, and entity resolution).
Parameters:
  source - the specification of the source object, which may be null, in which case it is assumed that node construction will take by some other means.
Parameters:
  unique - true if the returned DTM must be unique, probably because itis going to be mutated.
Parameters:
  wsfilter - Enables filtering of whitespace nodes, and may be null.
Parameters:
  incremental - true if the construction should try and be incremental.
Parameters:
  doIndexing - true if the caller considers it worth it to use indexing schemes. a non-null DTM reference.



getDTM
public DTM getDTM(int nodeHandle)(Code)
Get an instance of a DTM that "owns" a node handle.
Parameters:
  nodeHandle - the nodeHandle. a non-null DTM reference.



getDTMHandleFromNode
public int getDTMHandleFromNode(org.w3c.dom.Node node)(Code)
Given a W3C DOM node, try and return a DTM handle. Note: calling this may be non-optimal.
Parameters:
  node - Non-null reference to a DOM node. a valid DTM handle.



getDTMIdentity
public int getDTMIdentity(DTM dtm)(Code)
%TBD% Doc



getDTMManager
public DTMManager getDTMManager()(Code)
Return the DTMManager object. Though XPathContext context extends the DTMManager, it really is a proxy for the real DTMManager. If a caller needs to make a lot of calls to the DTMManager, it is faster if it gets the real one from this function.



getDTMXRTreeFrag
public DTMXRTreeFrag getDTMXRTreeFrag(int dtmIdentity)(Code)
Gets DTMXRTreeFrag object if one has already been created. Creates new DTMXRTreeFrag object and adds to m_DTMXRTreeFrags HashMap, otherwise.
Parameters:
  dtmIdentity - DTMXRTreeFrag



getErrorListener
final public ErrorListener getErrorListener()(Code)
Get the ErrorListener where errors and warnings are to be reported. A non-null ErrorListener reference.



getExpressionContext
public ExpressionContext getExpressionContext()(Code)
The the expression context for extensions for this context. An object that implements the ExpressionContext.



getGlobalRTFDTM
public DTM getGlobalRTFDTM()(Code)
Get a DTM to be used as a container for a global Result Tree Fragment. This will always be an instance of (derived from? equivalent to?) SAX2DTM, since each RTF is constructed by temporarily redirecting our SAX output to it. It may be a single DTM containing for multiple fragments, if the implementation supports that. Note: The distinction between this method and getRTFDTM() is that the latter allocates space from the dynamic variable stack (m_rtfdtm_stack), which may be pruned away again as the templates which defined those variables are exited. Global variables may be bound late (see XUnresolvedVariable), and never want to be discarded, hence we need to allocate them separately and don't actually need a stack to track them. a non-null DTM reference.



getIteratorRoot
final public int getIteratorRoot()(Code)
Get the current location path iterator root.



getNamespaceContext
final public PrefixResolver getNamespaceContext()(Code)
Get the current namespace context for the xpath. the current prefix resolver for resolving prefixes to namespace URLs.



getOwnerObject
public Object getOwnerObject()(Code)
Get the "owner" context of this context, which should be, in the case of XSLT, the Transformer object. This is needed so that XSLT functions can get the Transformer. The owner object passed into the constructor, or null.



getPredicatePos
final public int getPredicatePos()(Code)



getPredicateRoot
final public int getPredicateRoot()(Code)
Get the current predicate root.



getPrimaryReader
final public XMLReader getPrimaryReader()(Code)
Get primary XMLReader associated with this execution context. The reader of the primary source tree.



getRTFDTM
public DTM getRTFDTM()(Code)
Get a DTM to be used as a container for a dynamic Result Tree Fragment. This will always be an instance of (derived from? equivalent to?) SAX2DTM, since each RTF is constructed by temporarily redirecting our SAX output to it. It may be a single DTM containing for multiple fragments, if the implementation supports that. a non-null DTM reference.



getSAXLocator
public SourceLocator getSAXLocator()(Code)
Get the current locater in the stylesheet. The location within the stylesheet, or null if not known.



getSourceTreeManager
final public SourceTreeManager getSourceTreeManager()(Code)
Get the SourceTreeManager associated with this execution context. the SourceTreeManager associated with this execution context.



getSubContextList
public SubContextList getSubContextList()(Code)
Get the current axes iterator, or return null if none. the sub-context node list.



getURIResolver
final public URIResolver getURIResolver()(Code)
Get the URIResolver associated with this execution context. a URI resolver, which may be null.



getVarStack
final public VariableStack getVarStack()(Code)
Get the variable stack, which is in charge of variables and parameters. the variable stack, which should not be null.



isSecureProcessing
public boolean isSecureProcessing()(Code)
Return the state of the secure processing feature



popContextNodeList
final public void popContextNodeList()(Code)
Pop the current context node list.



popCurrentExpressionNode
final public void popCurrentExpressionNode()(Code)
Pop the current node that is the expression's context (i.e. for current() support).



popCurrentNode
final public void popCurrentNode()(Code)
Pop the current context node.



popCurrentNodeAndExpression
final public void popCurrentNodeAndExpression()(Code)
Set the current context node.



popExpressionState
final public void popExpressionState()(Code)
Pop the current context node, expression node, and prefix resolver.



popIteratorRoot
final public void popIteratorRoot()(Code)
Pop the current location path iterator root.



popNamespaceContext
final public void popNamespaceContext()(Code)
Pop the current namespace context for the xpath.



popPredicatePos
final public void popPredicatePos()(Code)



popPredicateRoot
final public void popPredicateRoot()(Code)
Pop the current predicate root.



popRTFContext
public void popRTFContext()(Code)
Pop the RTFDTM's context mark. This discards any RTFs added after the last mark was set. If there is no RTF DTM, there's nothing to pop so this becomes a no-op. If pushes were issued before this was called, we count on the fact that popRewindMark is defined such that overpopping just resets to empty. Complicating factor: We need to handle the case of popping back to a previous RTF DTM, if one of the weird produce-an-RTF-to-build-an-RTF cases arose. Basically: If pop says this DTM is now empty, then return to the previous if one exists, in whatever state we left it in. UGLY, but hopefully the situation which forces us to consider this will arise exceedingly rarely.



popSAXLocator
public void popSAXLocator()(Code)
Pop the current locater.



popSubContextList
final public void popSubContextList()(Code)
Pop the last pushed axes iterator.



pushContextNodeList
final public void pushContextNodeList(DTMIterator nl)(Code)
Set the current context node list.
Parameters:
  nl - the current node list,also refered to here as a context node list.



pushCurrentExpressionNode
final public void pushCurrentExpressionNode(int n)(Code)
Set the current node that is the expression's context (i.e. for current() support).
Parameters:
  n - The sub-expression node to be current.



pushCurrentNode
final public void pushCurrentNode(int n)(Code)
Set the current context node.
Parameters:
  n - the current node.



pushCurrentNodeAndExpression
final public void pushCurrentNodeAndExpression(int cn, int en)(Code)
Set the current context node and expression node.
Parameters:
  cn - the current node.
Parameters:
  en - the sub-expression context node.



pushExpressionState
final public void pushExpressionState(int cn, int en, PrefixResolver nc)(Code)
Push the current context node, expression node, and prefix resolver.
Parameters:
  cn - the current node.
Parameters:
  en - the sub-expression context node.
Parameters:
  nc - the namespace context (prefix resolver.



pushIteratorRoot
final public void pushIteratorRoot(int n)(Code)
Set the current location path iterator root.



pushNamespaceContext
final public void pushNamespaceContext(PrefixResolver pr)(Code)
Push a current namespace context for the xpath.
Parameters:
  pr - the prefix resolver to be used for resolving prefixes to namespace URLs.



pushNamespaceContextNull
final public void pushNamespaceContextNull()(Code)
Just increment the namespace contest stack, so that setNamespaceContext can be used on the slot.



pushPredicatePos
final public void pushPredicatePos(int n)(Code)



pushPredicateRoot
final public void pushPredicateRoot(int n)(Code)
Set the current predicate root.



pushRTFContext
public void pushRTFContext()(Code)
Push the RTFDTM's context mark, to allows discarding RTFs added after this point. (If it doesn't exist we don't push, since we might still be able to get away with not creating it. That requires that excessive pops be harmless.)



pushSAXLocator
public void pushSAXLocator(SourceLocator location)(Code)
Set the current locater in the stylesheet.
Parameters:
  location - The location within the stylesheet.



pushSAXLocatorNull
public void pushSAXLocatorNull()(Code)
Push a slot on the locations stack so that setSAXLocator can be repeatedly called.



pushSubContextList
final public void pushSubContextList(SubContextList iter)(Code)
Push a TreeWalker on the stack.
Parameters:
  iter - A sub-context AxesWalker.



release
public boolean release(DTM dtm, boolean shouldHardDelete)(Code)
Release a DTM either to a lru pool, or completely remove reference. DTMs without system IDs are always hard deleted. State: experimental.
Parameters:
  dtm - The DTM to be released.
Parameters:
  shouldHardDelete - True if the DTM should be removed no matter what. true if the DTM was removed, false if it was put back in a lru pool.



reset
public void reset()(Code)
Reset for new run.



setAxesIteratorStackStacks
public void setAxesIteratorStackStacks(Stack s)(Code)



setContextNodeListsStack
public void setContextNodeListsStack(Stack s)(Code)



setCurrentExpressionNodeStack
public void setCurrentExpressionNodeStack(IntStack nv)(Code)



setCurrentNodeStack
public void setCurrentNodeStack(IntStack nv)(Code)



setErrorListener
public void setErrorListener(ErrorListener listener) throws IllegalArgumentException(Code)
Set the ErrorListener where errors and warnings are to be reported.
Parameters:
  listener - A non-null ErrorListener reference.



setNamespaceContext
final public void setNamespaceContext(PrefixResolver pr)(Code)
Get the current namespace context for the xpath.
Parameters:
  pr - the prefix resolver to be used for resolving prefixes to namespace URLs.



setPrimaryReader
public void setPrimaryReader(XMLReader reader)(Code)
Set primary XMLReader associated with this execution context.
Parameters:
  reader - The reader of the primary source tree.



setSAXLocator
public void setSAXLocator(SourceLocator location)(Code)
Set the current locater in the stylesheet.
Parameters:
  location - The location within the stylesheet.



setSecureProcessing
public void setSecureProcessing(boolean flag)(Code)
Set the state of the secure processing feature



setSourceTreeManager
public void setSourceTreeManager(SourceTreeManager mgr)(Code)
Set the SourceTreeManager associated with this execution context.
Parameters:
  mgr - the SourceTreeManager to be associated with this execution context.



setURIResolver
public void setURIResolver(URIResolver resolver)(Code)
Set the URIResolver associated with this execution context.
Parameters:
  resolver - the URIResolver to be associated with this execution context, may be null to clear an already set resolver.



setVarStack
final public void setVarStack(VariableStack varStack)(Code)
Get the variable stack, which is in charge of variables and parameters.
Parameters:
  varStack - non-null reference to the variable stack.



Fields inherited from org.apache.xml.dtm.DTMManager
final public static int IDENT_DTM_DEFAULT(Code)(Java Doc)
final public static int IDENT_DTM_NODE_BITS(Code)(Java Doc)
final public static int IDENT_MAX_DTMS(Code)(Java Doc)
final public static int IDENT_NODE_DEFAULT(Code)(Java Doc)
public boolean m_incremental(Code)(Java Doc)
public boolean m_source_location(Code)(Java Doc)
protected XMLStringFactory m_xsf(Code)(Java Doc)

Methods inherited from org.apache.xml.dtm.DTMManager
abstract public DTMIterator createDTMIterator(Object xpathCompiler, int pos)(Code)(Java Doc)
abstract public DTMIterator createDTMIterator(String xpathString, PrefixResolver presolver)(Code)(Java Doc)
abstract public DTMIterator createDTMIterator(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion)(Code)(Java Doc)
abstract public DTMIterator createDTMIterator(int node)(Code)(Java Doc)
abstract public DTM createDocumentFragment()(Code)(Java Doc)
abstract public DTM getDTM(javax.xml.transform.Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing)(Code)(Java Doc)
abstract public DTM getDTM(int nodeHandle)(Code)(Java Doc)
abstract public int getDTMHandleFromNode(org.w3c.dom.Node node)(Code)(Java Doc)
abstract public int getDTMIdentity(DTM dtm)(Code)(Java Doc)
public int getDTMIdentityMask()(Code)(Java Doc)
public boolean getIncremental()(Code)(Java Doc)
public int getNodeIdentityMask()(Code)(Java Doc)
public boolean getSource_location()(Code)(Java Doc)
public XMLStringFactory getXMLStringFactory()(Code)(Java Doc)
public static DTMManager newInstance(XMLStringFactory xsf) throws DTMConfigurationException(Code)(Java Doc)
abstract public boolean release(DTM dtm, boolean shouldHardDelete)(Code)(Java Doc)
public void setIncremental(boolean incremental)(Code)(Java Doc)
public void setSource_location(boolean sourceLocation)(Code)(Java Doc)
public void setXMLStringFactory(XMLStringFactory xsf)(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.