org.apache.woden.wsdl20.validation
Interface Assertion


public interface Assertion

Represents an assertion about the WSDL document or component model. This assertion may be defined by the WSDL 2.0 specification or by a WSDL extension specification.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 String getId()
          Return the assertion identifier.
 void validate(Object target, WodenContext wodenCtx)
          Validates the specified WSDL object against this assertion.
 

Method Detail

getId

String getId()
Return the assertion identifier. For example, "Description-1001". The WSDL 2.0 specification defines assertion ids for the WSDL infoset and component model and for the extensions defined in Part 2: Adjuncts (wsdlx, wrpc, wsoap, whttp). Providers of other extensions must define unique identifiers for their assertions.

Returns:
the String representing the ID of this assertion.

validate

void validate(Object target,
              WodenContext wodenCtx)
              throws WSDLException
Validates the specified WSDL object against this assertion.

Parameters:
target - the WSDL object that is the target of the assertion
wodenCtx - WodenContext containing helper objects useful to Assertion implementors
Throws:
WSDLException


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.