public class PolicyFactory extends Object
Modifier and Type | Method and Description |
---|---|
Obligation |
createObligation()
Returns a new instance of
Obligation . |
Obligation |
createObligation(Element elem)
Returns a new instance of
Obligation . |
Obligation |
createObligation(String xml)
Returns a new instance of
Obligation
The return object is immutable. |
Obligations |
createObligations()
Returns a new instance of
Obligations . |
Obligations |
createObligations(Element elem)
Returns a new instance of
Obligations . |
Obligations |
createObligations(String xml)
Returns a new instance of
Obligations
The return object is immutable. |
static PolicyFactory |
getInstance()
Returns the instance of
ContextSchemaFactory . |
public static PolicyFactory getInstance()
ContextSchemaFactory
.ContextSchemaFactory
.public Obligation createObligation()
Obligation
.Obligation
public Obligation createObligation(Element elem) throws XACMLException
Obligation
.
The return object is immutable.elem
- a DOM Element representation of Obligation
Obligation
XACMLException
- if error occurs while processing the
DOM Elementpublic Obligation createObligation(String xml) throws XACMLException
Obligation
The return object is immutable.xml
- a XML string representation of Obligation
Resource
XACMLException
- if error occurs while processing the
XML stringpublic Obligations createObligations()
Obligations
.Obligations
public Obligations createObligations(Element elem) throws XACMLException
Obligations
.
The return object is immutable.elem
- a DOM Element representation of Obligations
Obligations
XACMLException
- if error occurs while processing the
DOM Elementpublic Obligations createObligations(String xml) throws XACMLException
Obligations
The return object is immutable.xml
- a XML string representation of Obligations
Obligations
XACMLException
- if error occurs while processing the
XML stringCopyright © 2010-2018, ForgeRock All Rights Reserved.