org.apache.xml.security.transforms.implementations
public class FuncHereContext extends org.apache.xpath.XPathContext
FuncHereContext
extends XPathContext
for supplying context
for the here()
function. The here() function needs to know
where in an XML instance the XPath text string appeared. This can be
in Text
, Attr
ibutes and nodes. The
correct node must be supplied to the constructor of FuncHereContext
.
The supplied Node MUST contain the XPath which is to be executed.
From: Scott_Boag\@lotus.com To: Christian Geuer-PollmannCC: xalan-dev@xml.apache.org Subject: Re: Cleanup of XPathContext & definition of XSLTContext Date: Tue, 21 Aug 2001 18:36:24 -0400 > My point is to say to get this baby to run, the XPath must have a > possibility to retrieve the information where itself occured in a > document. It sounds to me like you have to derive an XMLSigContext from the XPathContext? > and supplied the Node which contains the xpath string as "owner". Question: > Is this the correct use of the owner object? It works, but I don't know > whether this is correct from the xalan-philosophy... Philosophically it's fine. The owner is the TransformerImpl if XPath is running under XSLT. If it is not running under XSLT, it can be whatever you want. -scott
FuncHere
,
XPathFuncHereAPI
,
XML Signature - The here() functionConstructor and Description |
---|
FuncHereContext(org.w3c.dom.Node owner)
Constructor FuncHereContext
|
FuncHereContext(org.w3c.dom.Node owner,
org.apache.xpath.CachedXPathAPI previouslyUsed)
Constructor FuncHereContext
|
FuncHereContext(org.w3c.dom.Node owner,
org.apache.xml.dtm.DTMManager dtmManager)
Constructor FuncHereContext
|
FuncHereContext(org.w3c.dom.Node owner,
org.apache.xpath.XPathContext xpathContext)
Constructor FuncHereContext
|
createDocumentFragment, createDTMIterator, createDTMIterator, createDTMIterator, createDTMIterator, getAxesIteratorStackStacks, getContextNode, getContextNodeList, getContextNodeListsStack, getContextNodes, getCurrentExpressionNode, getCurrentExpressionNodeStack, getCurrentNode, getCurrentNodeList, getCurrentNodeStack, getDTM, getDTM, getDTMHandleFromNode, getDTMIdentity, getDTMManager, getDTMXRTreeFrag, getErrorListener, getExpressionContext, getGlobalRTFDTM, getIteratorRoot, getNamespaceContext, getOwnerObject, getPredicatePos, getPredicateRoot, getPrimaryReader, getRTFDTM, getSAXLocator, getSourceTreeManager, getSubContextList, getURIResolver, getVarStack, isSecureProcessing, popContextNodeList, popCurrentExpressionNode, popCurrentNode, popCurrentNodeAndExpression, popExpressionState, popIteratorRoot, popNamespaceContext, popPredicatePos, popPredicateRoot, popRTFContext, popSAXLocator, popSubContextList, pushContextNodeList, pushCurrentExpressionNode, pushCurrentNode, pushCurrentNodeAndExpression, pushExpressionState, pushIteratorRoot, pushNamespaceContext, pushNamespaceContextNull, pushPredicatePos, pushPredicateRoot, pushRTFContext, pushSAXLocator, pushSAXLocatorNull, pushSubContextList, release, reset, setAxesIteratorStackStacks, setContextNodeListsStack, setCurrentExpressionNodeStack, setCurrentNodeStack, setErrorListener, setNamespaceContext, setPrimaryReader, setSAXLocator, setSecureProcessing, setSourceTreeManager, setURIResolver, setVarStack
public FuncHereContext(org.w3c.dom.Node owner)
owner
- public FuncHereContext(org.w3c.dom.Node owner, org.apache.xpath.XPathContext xpathContext)
owner
- xpathContext
- public FuncHereContext(org.w3c.dom.Node owner, org.apache.xpath.CachedXPathAPI previouslyUsed)
owner
- previouslyUsed
- public FuncHereContext(org.w3c.dom.Node owner, org.apache.xml.dtm.DTMManager dtmManager)
owner
- dtmManager
- Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.