Package com.sun.xml.ws.api.policy
Class ModelTranslator
- java.lang.Object
-
- com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator
-
- com.sun.xml.ws.api.policy.ModelTranslator
-
public class ModelTranslator extends PolicyModelTranslator
This class provides a method for translating a PolicySourceModel structure to a normalized Policy expression. The resulting Policy is disconnected from its model, thus any additional changes in the model will have no effect on the Policy expression.- Author:
- Fabian Ritzmann
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelTranslatorgetTranslator()Method returns thread-safe policy model translator instance.-
Methods inherited from class com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator
translate
-
-
-
-
Method Detail
-
getTranslator
public static ModelTranslator getTranslator() throws PolicyException
Method returns thread-safe policy model translator instance.- Returns:
- A policy model translator instance.
- Throws:
PolicyException- If instantiating a PolicyAssertionCreator failed.
-
-