Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml/attr
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17448/com/sun/xacml/attr
Modified Files:
AttributeDesignator.java AttributeSelector.java
AttributeValue.java
Log Message:
introduced support for variable referencing and definition, one of the major
new features in XACML 2.0
Index: AttributeDesignator.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/attr/AttributeDesignator.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** AttributeDesignator.java 4 Jun 2004 17:50:39 -0000 1.7
--- AttributeDesignator.java 7 Jan 2005 23:49:31 -0000 1.8
***************
*** 3,7 ****
* @(#)AttributeDesignator.java
*
! * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
--- 3,7 ----
* @(#)AttributeDesignator.java
*
! * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
***************
*** 260,263 ****
--- 260,272 ----
/**
+ * Returns true since this expression is evaluatable.
+ *
+ * @return true
+ */
+ public boolean isEvaluatable() {
+ return true;
+ }
+
+ /**
* Returns the type of this designator as specified by the *_TARGET
* fields.
Index: AttributeValue.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/attr/AttributeValue.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** AttributeValue.java 14 May 2004 20:43:07 -0000 1.6
--- AttributeValue.java 7 Jan 2005 23:49:31 -0000 1.7
***************
*** 3,7 ****
* @(#)AttributeValue.java
*
! * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
--- 3,7 ----
* @(#)AttributeValue.java
*
! * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
***************
*** 80,83 ****
--- 80,92 ----
/**
+ * Returns true since this expression is evaluatable.
+ *
+ * @return true
+ */
+ public boolean isEvaluatable() {
+ return true;
+ }
+
+ /**
* Returns the type of this attribute value. By default this always
* returns the type passed to the constructor.
Index: AttributeSelector.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/attr/AttributeSelector.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** AttributeSelector.java 4 Jun 2004 17:50:39 -0000 1.10
--- AttributeSelector.java 7 Jan 2005 23:49:31 -0000 1.11
***************
*** 3,7 ****
* @(#)AttributeSelector.java
*
! * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
--- 3,7 ----
* @(#)AttributeSelector.java
*
! * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
***************
*** 210,213 ****
--- 210,222 ----
/**
+ * Returns true since this expression is evaluatable.
+ *
+ * @return true
+ */
+ public boolean isEvaluatable() {
+ return true;
+ }
+
+ /**
* Returns the data type of the attribute values that this selector
* will resolve
|