com.sun.xml.ws.api.policy
Class ModelTranslator

java.lang.Object
  extended by com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator
      extended by 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
static ModelTranslator getTranslator()
          Method returns thread-safe policy model translator instance.
 
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
 

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.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.