Searched refs:assertions (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DAssertionSet.java43 * The AssertionSet is a set of assertions. It represents a single policy alternative.
50 * The comparator comapres policy assertions according to their publicly accessible attributes, in the following
56 * 4. has nested assertions (boolean): false < true
92 private final List<PolicyAssertion> assertions; field in class:AssertionSet
98 this.assertions = list;
102 this.assertions = new LinkedList<PolicyAssertion>();
104 addAll(alternative.assertions);
113 if (this.assertions.contains(assertion)) {
116 this.assertions.add(assertion);
122 private boolean addAll(final Collection<? extends PolicyAssertion> assertions) { argument
211 createAssertionSet(final Collection<? extends PolicyAssertion> assertions) argument
[all...]
/openjdk7/jdk/test/sun/net/util/
H A DIPAddressUtilTest.java33 static Object [][] assertions = { field in class:IPAddressUtilTest
53 for (int i=0; i<assertions.length; i++) {
54 String addr = (String) assertions[i][0];
55 boolean expected = ((Boolean) assertions[i][1]).booleanValue();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/
H A DFastInfosetFeatureConfigurator.java46 * A configurator provider for FastInfoset policy assertions.
56 * Process FastInfoset policy assertions.
67 Iterator <AssertionSet> assertions = policy.iterator();
68 while(assertions.hasNext()){
69 AssertionSet assertionSet = assertions.next();
H A DMtomFeatureConfigurator.java56 * process Mtom policy assertions and if found and is not optional then mtom is enabled on the
68 Iterator <AssertionSet> assertions = policy.iterator();
69 while(assertions.hasNext()){
70 AssertionSet assertionSet = assertions.next();
H A DSelectOptimalEncodingFeatureConfigurator.java46 * A configurator provider for FastInfoset policy assertions.
55 * Process SelectOptimalEncoding policy assertions.
66 Iterator <AssertionSet> assertions = policy.iterator();
67 while(assertions.hasNext()){
68 AssertionSet assertionSet = assertions.next();
H A DMtomPolicyMapConfigurator.java123 ArrayList<PolicyAssertion> assertions = new ArrayList<PolicyAssertion>(1);
124 assertions.add(new MtomAssertion());
125 assertionSets.add(AssertionSet.createAssertionSet(assertions));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/
H A DAddressingFeatureConfigurator.java52 * This Policy extension configures the WSDLModel with AddressingFeature when Addressing assertions are present in the
78 final Iterator <AssertionSet> assertions = policy.iterator();
79 while(assertions.hasNext()){
80 final AssertionSet assertionSet = assertions.next();
96 // Deal with WS-Addressing 1.0 Metadata assertions
98 for (AssertionSet assertions : policy) {
99 for (PolicyAssertion assertion : assertions) {
H A DAddressingPolicyMapConfigurator.java120 final ArrayList<PolicyAssertion> assertions = new ArrayList<PolicyAssertion>(1);
131 assertions.add(new AddressingAssertion(addressingData, AssertionSet.createAssertionSet(Collections.singleton(nestedAsser))));
135 assertions.add(new AddressingAssertion(addressingData, AssertionSet.createAssertionSet(Collections.singleton(nestedAsser))));
137 assertions.add(new AddressingAssertion(addressingData, AssertionSet.createAssertionSet(null)));
142 assertions.add(new AddressingAssertion(addressingData, AssertionSet.createAssertionSet(null)));
144 assertionSets.add(AssertionSet.createAssertionSet(assertions));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/
H A DManagementAssertion.java103 final Iterator<PolicyAssertion> assertions = assertionSet.get(name).iterator();
104 if (assertions.hasNext()) {
105 assertion = assertions.next();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DPolicyModelGenerator.java116 * @param assertions The assertions that are to be added to the node. May not be null.
118 protected void translate(final ModelNode node, final AssertionSet assertions) { argument
119 for (PolicyAssertion assertion : assertions) {
132 * Iterates through all contained assertions and adds them to the info model.
134 * @param assertionParametersIterator The contained assertions.
135 * @param assertionNode The node to which the assertions are added as child nodes
H A DPolicyModelTranslator.java59 final List<ModelNode> assertions = new LinkedList<ModelNode>(); field in class:PolicyModelTranslator.ContentDecomposition
63 assertions.clear();
261 final RawAlternative alternative = new RawAlternative(decomposition.assertions);
267 final Collection<Collection<ModelNode>> combinations = PolicyUtils.Collections.combine(decomposition.assertions, decomposition.exactlyOneContents, false);
313 decomposition.assertions.add(node);

Completed in 40 milliseconds