public abstract class PolicyModelUnmarshaller
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static PolicyModelUnmarshaller |
xmlUnmarshaller |
| Constructor and Description |
|---|
PolicyModelUnmarshaller()
Default constructor to ensure we have a common model unmarshaller base, but only our API classes implemented in this
package will be able to extend this abstract class.
|
| Modifier and Type | Method and Description |
|---|---|
static PolicyModelUnmarshaller |
getXmlUnmarshaller()
Factory method that returns policy model unmarshaller able to unmarshal
policy expressions from XML source.
|
abstract PolicySourceModel |
unmarshalModel(java.lang.Object storage)
Unmarshalls single policy source model from provided storage reference.
|
private static final PolicyModelUnmarshaller xmlUnmarshaller
PolicyModelUnmarshaller()
public abstract PolicySourceModel unmarshalModel(java.lang.Object storage) throws PolicyException
storage - reference to underlying storage that should be used for model unmarshallingnull.PolicyException - in case of the unmarshalling problemspublic static PolicyModelUnmarshaller getXmlUnmarshaller()