public synchronized Document readPolicy ( URL url ) throws ParsingException { try { return readPolicy ( url . openStream ( ) ) ; } catch ( IOException ioe ) { throw new ParsingException ( "Failed to resolve the URL: " + url . toString ( ) , ioe ) ; } }
Tries to read an XACML policy or policy set based on the given URL . This may be any resolvable URL like a file or http pointer .