Class 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.
    Author:
    Fabian Ritzmann
    • Method Detail

      • 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.