Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17329/com/sun/xacml
Modified Files:
BasicEvaluationCtx.java EvaluationCtx.java
Log Message:
updated to provide namespace mapping node
Index: BasicEvaluationCtx.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/BasicEvaluationCtx.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BasicEvaluationCtx.java 3 May 2004 18:33:35 -0000 1.1
--- BasicEvaluationCtx.java 12 May 2004 21:27:20 -0000 1.2
***************
*** 629,632 ****
--- 629,634 ----
*
* @param contextPath the XPath expression to search
+ * @param namespaceNode the DOM node defining namespace mappings to use,
+ * or null if mappings come from the context root
* @param type the type of the attribute value(s) to find
* @param xpathVersion the version of XPath to use
***************
*** 636,642 ****
* Indeterminate result
*/
! public EvaluationResult getAttribute(String contextPath, URI type,
String xpathVersion) {
! return finder.findAttribute(contextPath, type, this, xpathVersion);
}
--- 638,646 ----
* Indeterminate result
*/
! public EvaluationResult getAttribute(String contextPath,
! Node namespaceNode, URI type,
String xpathVersion) {
! return finder.findAttribute(contextPath, namespaceNode, type, this,
! xpathVersion);
}
Index: EvaluationCtx.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/EvaluationCtx.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** EvaluationCtx.java 3 May 2004 18:33:35 -0000 1.7
--- EvaluationCtx.java 12 May 2004 21:27:20 -0000 1.8
***************
*** 275,278 ****
--- 275,280 ----
*
* @param contextPath the XPath expression to search
+ * @param namespaceNode the DOM node defining namespace mappings to use,
+ * or null if mappings come from the context root
* @param type the type of the attribute value(s) to find
* @param xpathVersion the version of XPath to use
***************
*** 282,286 ****
* Indeterminate result
*/
! public EvaluationResult getAttribute(String contextPath, URI datatype,
String xpathVersion);
--- 284,289 ----
* Indeterminate result
*/
! public EvaluationResult getAttribute(String contextPath,
! Node namespaceNode, URI datatype,
String xpathVersion);
|