org.apache.ws.policy.util
Class DOMPolicyReader
java.lang.Object
org.apache.ws.policy.util.DOMPolicyReader
- All Implemented Interfaces:
- PolicyReader
- public class DOMPolicyReader
- extends java.lang.Object
- implements PolicyReader
DOMPolicyReader implements PolicyReader and provides different methods to
create a policy object. It uses DOM as it underlying mechanism to XML.
- Author:
- Werner Dittmann (werner@apache.org), Sanka Samaranayake (sanka@apache.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLNS_NS_URI
public static final java.lang.String XMLNS_NS_URI
- See Also:
- Constant Field Values
readPolicy
public Policy readPolicy(java.io.InputStream in)
- Description copied from interface:
PolicyReader
- Creates a Policy object from an InputStream.
- Specified by:
readPolicy
in interface PolicyReader
- Parameters:
in
- the inputStream of the source file
- Returns:
- a policy object constructed from the InputStream
readPolicy
public Policy readPolicy(org.w3c.dom.Element element)
readPolicyReference
public PolicyReference readPolicyReference(org.w3c.dom.Element element)
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.