Class XmlPolicyModelUnmarshaller
java.lang.Object
com.sun.xml.ws.policy.sourcemodel.PolicyModelUnmarshaller
com.sun.xml.ws.policy.sourcemodel.XmlPolicyModelUnmarshaller
- Direct Known Subclasses:
ModelUnmarshaller
Unmarshal XML policy expressions.
- Author:
- Marek Potociar, Fabian Ritzmann
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of XmlPolicyModelUnmarshaller -
Method Summary
Modifier and TypeMethodDescriptionprotected PolicySourceModelcreateSourceModel(NamespaceVersion nsVersion, String id, String name) Allow derived classes to pass in a custom instance of PolicySourceModel.unmarshalModel(Object storage) Methods inherited from class com.sun.xml.ws.policy.sourcemodel.PolicyModelUnmarshaller
getXmlUnmarshaller
-
Constructor Details
-
XmlPolicyModelUnmarshaller
protected XmlPolicyModelUnmarshaller()Creates a new instance of XmlPolicyModelUnmarshaller
-
-
Method Details
-
unmarshalModel
- Specified by:
unmarshalModelin classPolicyModelUnmarshaller- Parameters:
storage- reference to underlying storage that should be used for model unmarshalling- Returns:
- unmarshalled policy source model. If no policies are found, returns
null. - Throws:
PolicyException- in case of the unmarshalling problems
-
createSourceModel
Allow derived classes to pass in a custom instance of PolicySourceModel.
-