com.sun.xml.ws.policy.sourcemodel
Class XmlPolicyModelUnmarshaller
java.lang.Object
com.sun.xml.ws.policy.sourcemodel.PolicyModelUnmarshaller
com.sun.xml.ws.policy.sourcemodel.XmlPolicyModelUnmarshaller
- Direct Known Subclasses:
- ModelUnmarshaller
public class XmlPolicyModelUnmarshaller
- extends PolicyModelUnmarshaller
Unmarshal XML policy expressions.
- Author:
- Marek Potociar, Fabian Ritzmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlPolicyModelUnmarshaller
protected XmlPolicyModelUnmarshaller()
- Creates a new instance of XmlPolicyModelUnmarshaller
unmarshalModel
public PolicySourceModel unmarshalModel(Object storage)
throws PolicyException
- See
base method documentation.
- Specified by:
unmarshalModel in class PolicyModelUnmarshaller
- 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
protected PolicySourceModel createSourceModel(NamespaceVersion nsVersion,
String id,
String name)
- Allow derived classes to pass in a custom instance of PolicySourceModel.
- Parameters:
nsVersion - id - name -
- Returns:
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.