|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectXPathContext
org.apache.xml.security.transforms.implementations.FuncHereContext
public class FuncHereContext
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 Summary | |
---|---|
FuncHereContext(org.w3c.dom.Node owner)
Constructor FuncHereContext |
|
FuncHereContext(org.w3c.dom.Node owner,
CachedXPathAPI previouslyUsed)
Constructor FuncHereContext |
|
FuncHereContext(org.w3c.dom.Node owner,
DTMManager dtmManager)
Constructor FuncHereContext |
|
FuncHereContext(org.w3c.dom.Node owner,
XPathContext xpathContext)
Constructor FuncHereContext |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FuncHereContext(org.w3c.dom.Node owner)
owner
- public FuncHereContext(org.w3c.dom.Node owner, XPathContext xpathContext)
owner
- xpathContext
- public FuncHereContext(org.w3c.dom.Node owner, CachedXPathAPI previouslyUsed)
owner
- previouslyUsed
- public FuncHereContext(org.w3c.dom.Node owner, DTMManager dtmManager)
owner
- dtmManager
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |