Searched defs:assertion (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/
H A DAddressingPolicyValidator.java41 * If the assertion is wsam:Addressing, it makes sure that only valid assertions are nested.
63 public Fitness validateClientSide(PolicyAssertion assertion) { argument
64 return supportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;
67 public Fitness validateServerSide(PolicyAssertion assertion) { argument
68 if (!supportedAssertions.contains(assertion.getName()))
72 if (assertion.getName().equals(W3CAddressingMetadataConstants.WSAM_ADDRESSING_ASSERTION)) {
73 NestedPolicy nestedPolicy = assertion.getNestedPolicy();
83 LOGGER.warning("Found unsupported assertion:\n" + nestedAsser + "\nnested into assertion:\n" + assertion);
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/
H A DManagementPolicyValidator.java44 public Fitness validateClientSide(PolicyAssertion assertion) { argument
45 final QName assertionName = assertion.getName();
57 public Fitness validateServerSide(PolicyAssertion assertion) { argument
58 final QName assertionName = assertion.getName();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/
H A DEncodingPolicyValidator.java60 public Fitness validateClientSide(PolicyAssertion assertion) { argument
61 return clientSideSupportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;
64 public Fitness validateServerSide(PolicyAssertion assertion) { argument
65 QName assertionName = assertion.getName();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DAssertionValidationProcessor.java37 * Provides methods for assertion validation.
97 * Validates fitness of the {@code assertion} on the client side.
99 * return client side {@code assertion} fitness
100 * @param assertion The assertion to be validated.
101 * @return The fitness of the assertion on the client side.
104 public PolicyAssertionValidator.Fitness validateClientSide(final PolicyAssertion assertion) throws PolicyException { argument
107 assertionFitness = assertionFitness.combine(validator.validateClientSide(assertion));
117 * Validates fitness of the {@code assertion} on the server side.
119 * return server side {@code assertion} fitnes
124 validateServerSide(final PolicyAssertion assertion) argument
[all...]
H A DAssertionSet.java108 private boolean add(final PolicyAssertion assertion) { argument
109 if (assertion == null) {
113 if (this.assertions.contains(assertion)) {
116 this.assertions.add(assertion);
117 this.vocabulary.add(assertion.getName());
126 for (PolicyAssertion assertion : assertions) {
127 result &= add(assertion); // this is here to ensure that vocabulary is built correctly as well
135 * Return all assertions contained in this assertion set.
137 * @return All assertions contained in this assertion set
145 * unique QName objects. Each of those objects represents single assertion typ
[all...]
H A DPolicyAssertion.java38 * Base class for any policy assertion implementations. It defines the common
39 * interface and provides some default implentation for common policy assertion
62 * @param assertionData assertion creation data specifying the details of newly created assertion. May be {@code null}.
63 * @param assertionParameters collection of assertions parameters of this policy assertion. May be {@code null}.
64 * @param nestedAlternative assertion set specifying nested policy alternative. May be {@code null}.
66 * @deprecated Non-abstract assertion types should derive from {@link SimpleAssertion}
84 * @param assertionData assertion creation data specifying the details of newly created assertion
85 * @param assertionParameters collection of assertions parameters of this policy assertion
320 isCompatibleWith(final PolicyAssertion assertion, PolicyIntersector.CompatibilityMode mode) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/spi/
H A DAbstractQNameValidator.java35 * This abstract policy assertion validator validates assertions by their qualified
40 * <li>{@link Fitness#SUPPORTED} - if the assertion qualified name is in the list of
41 * supported assertion names on the server/client side</li>
42 * <li>{@link Fitness#UNSUPPORTED} - if the assertion qualified name is not in the list of
43 * supported assertion names on the server/client side, however it is in the list of
44 * assertion names supported on the other side</li>
45 * <li>{@link Fitness#UNKNOWN} - if the assertion qualified name is not present in the any of
46 * the lists of supported assertion names</li>
51 * to validate content of the assertion. To do this one needs to override and reuse
64 * supported on either server or client side. The set of all assertion namespace
95 validateClientSide(PolicyAssertion assertion) argument
99 validateServerSide(PolicyAssertion assertion) argument
103 validateAssertion(PolicyAssertion assertion, Collection<QName> thisSideAssertions, Collection<QName> otherSideAssertions) argument
[all...]
H A DPolicyAssertionValidator.java57 * {@code Fitness.UNKNOWN} if the policy assertion type is not recognized
60 * {@code Fitness.SUPPORTED} if the policy assertion is supported in the
64 * {@code Fitness.UNSUPPORTED} if the policy assertion is recognized however
70 * {@code Fitness.INVALID} if the policy assertion is recognized however
78 * @param assertion A policy asssertion (See {@link com.sun.xml.internal.ws.policy.PolicyAssertion PolicyAssertion}).
80 * @return fitness of the {@code assertion} on in the client-side context. Must not be {@code null}.
82 public Fitness validateClientSide(PolicyAssertion assertion); argument
88 * {@code Fitness.UNKNOWN} if the policy assertion type is not recognized
91 * {@code Fitness.SUPPORTED} if the policy assertion is supported in the
95 * {@code Fitness.UNSUPPORTED} if the policy assertion i
112 validateServerSide(PolicyAssertion assertion) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DRDN.java48 * Note that DER-encoded RDNs sort AVAs by assertion OID ... so that
72 final AVA[] assertion; field in class:RDN
154 assertion = avaVec.toArray(new AVA[avaVec.size()]);
230 assertion = avaVec.toArray(new AVA[avaVec.size()]);
247 assertion = new AVA[avaset.length];
249 assertion[i] = new AVA(avaset[i]);
259 RDN(int i) { assertion = new AVA[i]; }
265 assertion = new AVA[] { ava };
269 assertion = avas.clone();
270 for (int i = 0; i < assertion
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/
H A DExpression.java406 * Tell the user of an assertion error, and probably throw an
410 * @param msg The assertion message, which should be informative.
416 public void assertion(boolean b, java.lang.String msg) method in class:Expression
478 assertion(n != this, "Can not parent an expression to itself!");
491 assertion(false, "exprAddChild method not implemented!");
H A DXPath.java542 * Tell the user of an assertion error, and probably throw an
546 * @param msg The assertion message, which should be informative.
550 public void assertion(boolean b, String msg) method in class:XPath
H A DXPathContext.java626 * Tell the user of an assertion error, and probably throw an
630 * @param msg The assertion message, which should be informative.
634 private void assertion(boolean b, String msg) throws javax.xml.transform.TransformerException method in class:XPathContext
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DPolicyModelTranslator.java87 RawAssertion assertion = new RawAssertion(node, new LinkedList<ModelNode>());
88 nestedAssertions.add(assertion);
90 for (ModelNode assertionNodeChild : assertion.originalNode.getChildren()) {
93 assertion.parameters.add(assertionNodeChild);
97 if (assertion.nestedAlternatives == null) {
98 assertion.nestedAlternatives = new LinkedList<RawAlternative>();
101 nestedPolicy = new RawPolicy(assertionNodeChild, assertion.nestedAlternatives);
103 nestedPolicy = new RawPolicy(getReferencedModelRootNode(assertionNodeChild), assertion.nestedAlternatives);
385 // we do not have any options to combine => returning this assertion
388 // we have some options to combine => creating assertion option
397 normalizeRawAssertion(final RawAssertion assertion) argument
[all...]
/openjdk7/jdk/test/java/net/ipv6tests/
H A DTests.java283 public static void t_assert (boolean assertion) { argument
284 if (assertion) {
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DCompiler.java1179 * Tell the user of an assertion error, and probably throw an
1183 * @param msg The assertion message, which should be informative.
1187 public void assertion(boolean b, java.lang.String msg) method in class:Compiler
H A DXPathParser.java572 * Notify the user of an assertion error, and probably throw an
576 * @param msg The assertion message, which should be informative.
580 private void assertion(boolean b, String msg) method in class:XPathParser

Completed in 104 milliseconds