public PolicyInclude(AxisDescription axisDescription) { if (axisDescription.getParent() != null) { PolicyInclude parentPolicyInclude = axisDescription.getParent().getPolicyInclude(); reg = new PolicyRegistryImpl(parentPolicyInclude.getPolicyRegistry()); } else { reg = new PolicyRegistryImpl(); } setDescription(axisDescription); }
public PolicyInclude(AxisDescription axisDescription) { if (axisDescription.getParent() != null) { PolicyInclude parentPolicyInclude = axisDescription.getParent().getPolicyInclude(); reg = new PolicyRegistryImpl(parentPolicyInclude.getPolicyRegistry()); } else { reg = new PolicyRegistryImpl(); } setDescription(axisDescription); }