public abstract class PolicyModelMarshaller extends Object
Modifier and Type | Method and Description |
---|---|
static PolicyModelMarshaller |
getXmlMarshaller(boolean marshallInvisible)
Factory methods that returns a marshaller instance based on input parameter.
|
abstract void |
marshal(Collection<PolicySourceModel> models,
Object storage)
Marshalls the collection of policy source models using provided storage reference
|
abstract void |
marshal(PolicySourceModel model,
Object storage)
Marshalls the policy source model using provided storage reference
|
public abstract void marshal(PolicySourceModel model, Object storage) throws PolicyException
model
- policy source model to be marshalledstorage
- reference to underlying storage that should be used for model marshallingPolicyException
- If marshalling failedpublic abstract void marshal(Collection<PolicySourceModel> models, Object storage) throws PolicyException
models
- collection of policy source models to be marshalledstorage
- reference to underlying storage that should be used for model marshallingPolicyException
- If marshalling failedpublic static PolicyModelMarshaller getXmlMarshaller(boolean marshallInvisible)
marshallInvisible
- boolean parameter indicating whether the marshaller
returned by this method does marshall private assertions or not.Copyright © 2006–2015 Oracle Corporation. All rights reserved.