Package org.apache.neethi.builders

Examples of org.apache.neethi.builders.PolicyContainingPrimitiveAssertion


                                      isOptional(element), isIgnorable(element),
                                      atts,
                                      element.getTextContent());
    }
    public Assertion newPolicyContainingAssertion(Element element, Map<QName, String> atts, Policy policy) {
        return new PolicyContainingPrimitiveAssertion(getQName(element),
                                      isOptional(element), isIgnorable(element),
                                      policy);
    }
View Full Code Here


                                                  isOptional(element), isIgnorable(element), mp);       
                }
                public Assertion newPolicyContainingAssertion(Element element,
                                                              Map<QName, String> mp,
                                                              Policy policy) {
                    return new PolicyContainingPrimitiveAssertion(
                                                  MetadataConstants.ADDRESSING_ASSERTION_QNAME,
                                                  isOptional(element), isIgnorable(element),
                                                  mp,
                                                  policy);
                }
View Full Code Here

                                new QName("http://x.y.z", "a"));
        Assertion a2 = new PrimitiveAssertion(
                                 new QName("http://x.y.z", "a"));
        Assertion b = new PrimitiveAssertion(
                                new QName("http://x.y.z", "b"));
        Assertion c = new PolicyContainingPrimitiveAssertion(
                               new QName("http://x.y.z", "c"), false, false, nested);
       
        All alt1 = new All();
        alt1.addAssertion(a1);
        alt1.addAssertion(b);
View Full Code Here

                        return new PrimitiveAssertion(RM11Constants.WSRMP_RMASSERTION_QNAME, isOptional(element),
                            isIgnorable(element), mp);       
                    }
                    public Assertion newPolicyContainingAssertion(Element element, Map<QName, String> mp,
                        Policy policy) {
                        return new PolicyContainingPrimitiveAssertion(RM11Constants.WSRMP_RMASSERTION_QNAME,
                            isOptional(element), isIgnorable(element), mp, policy);
                    }
                };
                assertion = nesting.build(elem, factory);
               
            } else if (SEQUENCESTR_NAME.equals(lname)) {
                assertion = new PrimitiveAssertion(SEQSTR_QNAME,  optional);
            } else if (SEQUENCETRANSEC_NAME.equals(lname)) {
                assertion = new PrimitiveAssertion(SEQTRANSSEC_QNAME,  optional);
            } else if (DELIVERYASSURANCE_NAME.equals(lname)) {
               
                // DeliveryAssurance, with nested policy
                XMLPrimitiveAssertionBuilder nesting = new XMLPrimitiveAssertionBuilder() {
                    public Assertion newPrimitiveAssertion(Element element, Map<QName, String> mp) {
                        return new PrimitiveAssertion(DELIVERYASSURANCE_QNAME, isOptional(element),
                            isIgnorable(element), mp);       
                    }
                    public Assertion newPolicyContainingAssertion(Element element, Map<QName, String> mp,
                        Policy policy) {
                        return new PolicyContainingPrimitiveAssertion(DELIVERYASSURANCE_QNAME,
                            isOptional(element), isIgnorable(element), mp, policy);
                    }
                };
                assertion = nesting.build(elem, factory);
               
View Full Code Here

                                new QName("http://x.y.z", "a"));
        Assertion a2 = new PrimitiveAssertion(
                                 new QName("http://x.y.z", "a"));
        Assertion b = new PrimitiveAssertion(
                                new QName("http://x.y.z", "b"));
        Assertion c = new PolicyContainingPrimitiveAssertion(
                               new QName("http://x.y.z", "c"), false, false, nested);
       
        All alt1 = new All();
        alt1.addAssertion(a1);
        alt1.addAssertion(b);
View Full Code Here

TOP

Related Classes of org.apache.neethi.builders.PolicyContainingPrimitiveAssertion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.