returns instance of abstractresult based one the xacml version . constructs a abstractresult object with decision and evaluation ctx concode_field_sep ResultFactory factoryInstance concode_field_sep ResultFactory getFactory
AbstractResult function ( int arg0 , Status arg1 , List < ObligationResult > arg2 , List < Advice > arg3 , EvaluationCtx arg4 ) { if ( arg4 . getXacmlVersion ( ) == XACMLConstants . XACML_VERSION_3_0 ) { return new Result ( arg0 , arg1 , arg2 , arg3 , arg4 ) ; } else { return new org . wso2 . balana . ctx . xacml2 . Result ( arg0 , arg1 , arg2 ) ; } }