public class ReferencedPolicyFactory extends java.lang.Object
Only local fragment URI's of the format '#foo' are supported, which will match a referenced policy with an wsu:Id of 'foo'.
|Constructor and Description|
|Modifier and Type||Method and Description|
Indexes a policy element via its wsu:Id attribute so that clients may later request this policy by URI reference.
Creates a new policy based on a policy referenced by the given URI reference.
public void addReferencedPolicy(org.w3c.dom.Element referencedPolicy, PolicyMarshaller marshaller) throws com.digev.fw.exception.GException
referencedPolicy- - the referenced policy. If the policy does not have a wsu:Id attribute, it is ignored.
marshaller- - the PolicyMarshaller that can unmarhal the referencedPolicy
public Policy createPolicy(java.lang.String uriReference) throws com.digev.fw.exception.GException
com.digev.fw.exception.GException- - if no reference is found or an error occured creating the policy.
Akana, Inc. Copyright (C) 2000-2015, All rights reserved
This software is the confidential and proprietary information of Akana, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Akana, Inc.