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


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 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-2012 Oracle and/or its affiliates. All rights reserved.