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 com.sun.xml.ws.policy.sourcemodel.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.
| Methods inherited from class com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator |
translate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getTranslator
public static ModelTranslator getTranslator()
throws com.sun.xml.ws.policy.PolicyException
- Method returns thread-safe policy model translator instance.
- Returns:
- A policy model translator instance.
- Throws:
com.sun.xml.ws.policy.PolicyException - If instantiating a PolicyAssertionCreator failed.
Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.