org.apache.ws.policy.util
Interface PolicyReader

All Known Implementing Classes:
DOMPolicyReader, OMPolicyReader

public interface PolicyReader

PolicyReader is an interface which every PolicyReader must implement. It contains a single method to create a Policy object from an InputStream.


Method Summary
 Policy readPolicy(java.io.InputStream inputStream)
          Creates a Policy object from an InputStream.
 

Method Detail

readPolicy

public Policy readPolicy(java.io.InputStream inputStream)
                  throws java.lang.RuntimeException
Creates a Policy object from an InputStream.

Parameters:
inputStream - the inputStream of the source file
Returns:
a policy object constructed from the InputStream
Throws:
java.lang.RuntimeException - if an error occurs while constructing the Policy object


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.