FileDocCategorySizeDatePackage
PolicySourceModelContext.javaAPI DocExample3513Tue May 29 16:56:40 BST 2007com.sun.xml.ws.policy.sourcemodel

PolicySourceModelContext

public final class PolicySourceModelContext extends Object
author
Marek Potociar, Jakub Podlesak

Fields Summary
Map
policyModels
Constructors Summary
private PolicySourceModelContext()
Private constructor prevents instantiation of the instance from outside of the class

        // nothing to initialize
    
Methods Summary
public voidaddModel(java.net.URI modelUri, PolicySourceModel model)

        getModels().put(modelUri,model);
    
public booleancontainsModel(java.net.URI modelUri)

        return getModels().containsKey(modelUri);
    
public static com.sun.xml.ws.policy.sourcemodel.PolicySourceModelContextcreateContext()

        return new PolicySourceModelContext();
    
private java.util.MapgetModels()

        if (null==policyModels) {
            policyModels = new HashMap<URI,PolicySourceModel>();
        }
        return policyModels;
    
PolicySourceModelretrieveModel(java.net.URI modelUri)

        return getModels().get(modelUri);
    
PolicySourceModelretrieveModel(java.net.URI modelUri, java.net.URI digestAlgorithm, java.lang.String digest)

        // TODO: implement
        throw new UnsupportedOperationException();
    
public java.lang.StringtoString()

        return policyModels.toString();