| java.lang.Object com.sun.xml.ws.policy.sourcemodel.PolicyModelMarshaller
All known Subclasses: com.sun.xml.ws.policy.sourcemodel.XmlPolicyModelMarshaller,
PolicyModelMarshaller | abstract public class PolicyModelMarshaller (Code) | | Abstract class defines interface for policy model marshaller implementations that are specific to underlying
persistence layer.
author: Marek Potociar |
Constructor Summary | |
| PolicyModelMarshaller() Default constructor to ensure we have a common model marshaller base, but only our API classes implemented in this
package will be able to extend this abstract class. |
PolicyModelMarshaller | PolicyModelMarshaller()(Code) | | Default constructor to ensure we have a common model marshaller base, but only our API classes implemented in this
package will be able to extend this abstract class. This is to restrict attempts of extending the class from
a client code.
|
getXmlMarshaller | public static PolicyModelMarshaller getXmlMarshaller(boolean marshallInvisible)(Code) | | Factory methods that returns a marshaller instance based on input parameter.
Parameters: marshallInvisible - boolean parameter indicating whether the marshaller returned by this method does marshall private assertions or not. policy model marshaller that either marshalls private assertions or notbased on the input argument. |
marshal | abstract public void marshal(PolicySourceModel model, Object storage) throws PolicyException(Code) | | Marshalls the policy source model using provided storage reference
Parameters: model - policy source model to be marshalled Parameters: storage - reference to underlying storage that should be used for model marshalling throws: PolicyException - If marshalling failed |
marshal | abstract public void marshal(Collection<PolicySourceModel> models, Object storage) throws PolicyException(Code) | | Marshalls the collection of policy source models using provided storage reference
Parameters: models - collection of policy source models to be marshalled Parameters: storage - reference to underlying storage that should be used for model marshalling throws: PolicyException - If marshalling failed |
|
|