Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policy.util
Class PolicyParser

java.lang.Object
  extended by oracle.wsm.policy.util.PolicyParser

All Implemented Interfaces:
IPolicyReader

public class PolicyParser
extends Object
implements IPolicyReader

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wsm.policy.parser.IPolicyReader
IPolicyReader.PARSE_ATTRIBUTES

 

Constructor Summary
PolicyParser()
           

 

Method Summary
 void addParseParameter(IPolicyReader.PARSE_ATTRIBUTES attribute, Object value)
          Set attributes that affect the way object are parsed Look at the enumeration PARSE_ATTRIBUTES for the list of allowed values
 Map<IPolicyReader.PARSE_ATTRIBUTES,Object> getParseParmeters()
          Returns a map of parsing attributes set for this reader
 void init(Map<String,Constructor> assertionMap, Map<String,IDeSerializer> deSerialMap)
           
 IAssertion parseAssertion(Element element)
           
 IAssertion parseAssertion(InputStream in)
           
 IAssertion parseAssertion(Reader reader)
           
 IAssertionTemplate parseAssertionTemplate(Element element)
           
 IAssertionTemplate parseAssertionTemplate(InputStream in)
           
 IAssertionTemplate parseAssertionTemplate(Reader reader)
           
 IConfig parseConfig(Element element)
           
 IConfig parseConfig(InputStream in)
           
 IConfig parseConfig(Reader reader)
           
 IPolicy parsePolicy(Element element)
           
 IPolicy parsePolicy(InputStream inputStream)
           
 IPolicy parsePolicy(Reader reader)
           
 IPolicyAttachment parsePolicyAttachment(Element element)
           
 IPolicyAttachment parsePolicyAttachment(InputStream in)
           
 IPolicyAttachment parsePolicyAttachment(Reader reader)
           
 IPolicyReference parsePolicyReference(Element element)
           
 IPolicyReference parsePolicyReference(InputStream in)
           
 IPolicyReference parsePolicyReference(Reader reader)
           
 IPolicySet parsePolicySet(Element element)
           
 IPolicySet parsePolicySet(InputStream inputStream)
           
 IPolicySet parsePolicySet(Reader reader)
           
 IPolicySubject parsePolicySubject(Element element)
           
 IPolicySubject parsePolicySubject(InputStream inputStream)
           
 IPolicySubject parsePolicySubject(Reader reader)
           
 void setUseXDKParser(boolean useXDK)
          Method that specifies which XML libraries to use for parsing XML objects

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PolicyParser

public PolicyParser()

Method Detail

init

public void init(Map<String,Constructor> assertionMap,
                 Map<String,IDeSerializer> deSerialMap)
Specified by:
init in interface IPolicyReader

parsePolicy

public IPolicy parsePolicy(InputStream inputStream)
                    throws PolicyParseFailedException
Specified by:
parsePolicy in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicy

public IPolicy parsePolicy(Reader reader)
                    throws PolicyParseFailedException
Specified by:
parsePolicy in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicy

public IPolicy parsePolicy(Element element)
                    throws PolicyParseFailedException
Specified by:
parsePolicy in interface IPolicyReader
Throws:
PolicyParseFailedException

parseConfig

public IConfig parseConfig(InputStream in)
                    throws PolicyParseFailedException
Specified by:
parseConfig in interface IPolicyReader
Throws:
PolicyParseFailedException

parseConfig

public IConfig parseConfig(Reader reader)
                    throws PolicyParseFailedException
Specified by:
parseConfig in interface IPolicyReader
Throws:
PolicyParseFailedException

parseConfig

public IConfig parseConfig(Element element)
                    throws PolicyParseFailedException
Specified by:
parseConfig in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicySet

public IPolicySet parsePolicySet(InputStream inputStream)
                          throws PolicyParseFailedException
Specified by:
parsePolicySet in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicySet

public IPolicySet parsePolicySet(Reader reader)
                          throws PolicyParseFailedException
Specified by:
parsePolicySet in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicySet

public IPolicySet parsePolicySet(Element element)
                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicyAttachment

public IPolicyAttachment parsePolicyAttachment(InputStream in)
                                        throws PolicyParseFailedException
Specified by:
parsePolicyAttachment in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicyAttachment

public IPolicyAttachment parsePolicyAttachment(Reader reader)
                                        throws PolicyParseFailedException
Specified by:
parsePolicyAttachment in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicyAttachment

public IPolicyAttachment parsePolicyAttachment(Element element)
                                        throws PolicyParseFailedException
Specified by:
parsePolicyAttachment in interface IPolicyReader
Throws:
PolicyParseFailedException

parseAssertionTemplate

public IAssertionTemplate parseAssertionTemplate(InputStream in)
                                          throws PolicyParseFailedException
Specified by:
parseAssertionTemplate in interface IPolicyReader
Throws:
PolicyParseFailedException

parseAssertionTemplate

public IAssertionTemplate parseAssertionTemplate(Reader reader)
                                          throws PolicyParseFailedException
Specified by:
parseAssertionTemplate in interface IPolicyReader
Throws:
PolicyParseFailedException

parseAssertionTemplate

public IAssertionTemplate parseAssertionTemplate(Element element)
                                          throws PolicyParseFailedException
Specified by:
parseAssertionTemplate in interface IPolicyReader
Throws:
PolicyParseFailedException

parseAssertion

public IAssertion parseAssertion(InputStream in)
                          throws PolicyParseFailedException
Specified by:
parseAssertion in interface IPolicyReader
Throws:
PolicyParseFailedException

parseAssertion

public IAssertion parseAssertion(Reader reader)
                          throws PolicyParseFailedException
Specified by:
parseAssertion in interface IPolicyReader
Throws:
PolicyParseFailedException

parseAssertion

public IAssertion parseAssertion(Element element)
                          throws PolicyParseFailedException
Specified by:
parseAssertion in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicyReference

public IPolicyReference parsePolicyReference(InputStream in)
                                      throws PolicyParseFailedException
Specified by:
parsePolicyReference in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicyReference

public IPolicyReference parsePolicyReference(Reader reader)
                                      throws PolicyParseFailedException
Specified by:
parsePolicyReference in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicyReference

public IPolicyReference parsePolicyReference(Element element)
                                      throws PolicyParseFailedException
Specified by:
parsePolicyReference in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicySubject

public IPolicySubject parsePolicySubject(InputStream inputStream)
                                  throws PolicyParseFailedException
Specified by:
parsePolicySubject in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicySubject

public IPolicySubject parsePolicySubject(Reader reader)
                                  throws PolicyParseFailedException
Specified by:
parsePolicySubject in interface IPolicyReader
Throws:
PolicyParseFailedException

parsePolicySubject

public IPolicySubject parsePolicySubject(Element element)
                                  throws PolicyParseFailedException
Throws:
PolicyParseFailedException

addParseParameter

public void addParseParameter(IPolicyReader.PARSE_ATTRIBUTES attribute,
                              Object value)
Description copied from interface: IPolicyReader
Set attributes that affect the way object are parsed Look at the enumeration PARSE_ATTRIBUTES for the list of allowed values
Specified by:
addParseParameter in interface IPolicyReader

getParseParmeters

public Map<IPolicyReader.PARSE_ATTRIBUTES,Object> getParseParmeters()
Description copied from interface: IPolicyReader
Returns a map of parsing attributes set for this reader
Specified by:
getParseParmeters in interface IPolicyReader
Returns:

setUseXDKParser

public void setUseXDKParser(boolean useXDK)
Description copied from interface: IPolicyReader
Method that specifies which XML libraries to use for parsing XML objects
Specified by:
setUseXDKParser in interface IPolicyReader
Parameters:
useXDK - If set to true, oracle XDK will be used for all subsequent requests to parse XML objects, else the standard XML parser provided by the JVM will be used (it may turn out to be Oracle XDK as well)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.