/** * Creates a new <code>PolicyReference</code> instance. This has no * constraints on version matching. Note that an XACML 1.x reference may * not have any constraints. * * @param reference the reference to the policy * @param policyType one of the two fields in this class * @param finder the <code>PolicyFinder</code> used to handle the reference * @param parentMetaData the meta-data associated with the containing * (parent) policy * * @throws IllegalArgumentException if the input policyType isn't valid */ public PolicyReference(URI reference, int policyType, PolicyFinder finder, PolicyMetaData parentMetaData) throws IllegalArgumentException { this(reference, policyType, new VersionConstraints(null, null, null), finder, parentMetaData); }
new VersionConstraints(versionConstraint, earlyConstraint, lateConstraint);