Skip navigation links

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

E10689-01


oracle.wsm.policy.parser
Interface IPolicyReader

All Known Implementing Classes:
PolicyParser

public interface IPolicyReader

Nested Class Summary
static class IPolicyReader.PARSE_ATTRIBUTES
          Attributes that can be used to customize object parsing

 

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> assertionClassMap, Map<String,IDeSerializer> deSerialzierMap)
           
 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 inputStream)
           
 IConfig parseConfig(Reader reader)
           
 IPolicy parsePolicy(Element element)
           
 IPolicy parsePolicy(InputStream inputStream)
           
 IPolicy parsePolicy(Reader reader)
           
 IPolicyAttachment parsePolicyAttachment(Element element)
           
 IPolicyAttachment parsePolicyAttachment(InputStream inputStream)
           
 IPolicyAttachment parsePolicyAttachment(Reader reader)
           
 IPolicyReference parsePolicyReference(Element element)
           
 IPolicyReference parsePolicyReference(InputStream in)
           
 IPolicyReference parsePolicyReference(Reader reader)
           
 IPolicySet parsePolicySet(InputStream inputStream)
           
 IPolicySet parsePolicySet(Reader reader)
           
 IPolicySubject parsePolicySubject(InputStream inputStream)
           
 IPolicySubject parsePolicySubject(Reader reader)
           
 void setUseXDKParser(boolean useXDK)
          Method that specifies which XML libraries to use for parsing XML objects

 

Method Detail

init

void init(Map<String,Constructor> assertionClassMap,
          Map<String,IDeSerializer> deSerialzierMap)

parsePolicy

IPolicy parsePolicy(InputStream inputStream)
                    throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicy

IPolicy parsePolicy(Reader reader)
                    throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseConfig

IConfig parseConfig(InputStream inputStream)
                    throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseConfig

IConfig parseConfig(Reader reader)
                    throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseConfig

IConfig parseConfig(Element element)
                    throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicyAttachment

IPolicyAttachment parsePolicyAttachment(InputStream inputStream)
                                        throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicyAttachment

IPolicyAttachment parsePolicyAttachment(Reader reader)
                                        throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicySet

IPolicySet parsePolicySet(InputStream inputStream)
                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicySet

IPolicySet parsePolicySet(Reader reader)
                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicy

IPolicy parsePolicy(Element element)
                    throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicyReference

IPolicyReference parsePolicyReference(Element element)
                                      throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicyAttachment

IPolicyAttachment parsePolicyAttachment(Element element)
                                        throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseAssertionTemplate

IAssertionTemplate parseAssertionTemplate(InputStream in)
                                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseAssertionTemplate

IAssertionTemplate parseAssertionTemplate(Reader reader)
                                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseAssertionTemplate

IAssertionTemplate parseAssertionTemplate(Element element)
                                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseAssertion

IAssertion parseAssertion(InputStream in)
                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseAssertion

IAssertion parseAssertion(Reader reader)
                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parseAssertion

IAssertion parseAssertion(Element element)
                          throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicyReference

IPolicyReference parsePolicyReference(InputStream in)
                                      throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicyReference

IPolicyReference parsePolicyReference(Reader reader)
                                      throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicySubject

IPolicySubject parsePolicySubject(InputStream inputStream)
                                  throws PolicyParseFailedException
Throws:
PolicyParseFailedException

parsePolicySubject

IPolicySubject parsePolicySubject(Reader reader)
                                  throws PolicyParseFailedException
Throws:
PolicyParseFailedException

addParseParameter

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
Parameters:
attribute -
value -

getParseParmeters

Map<IPolicyReader.PARSE_ATTRIBUTES,Object> getParseParmeters()
Returns a map of parsing attributes set for this reader
Returns:

setUseXDKParser

void setUseXDKParser(boolean useXDK)
Method that specifies which XML libraries to use for parsing XML objects
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.