org.jvnet.wom.api.parser
Interface WSDLExtensionHandler

All Known Subinterfaces:
XMLSchemaParser
All Known Implementing Classes:
AbstractWSDLExtensionHandler, MimeMultipartParser, SOAPAddressExtensionHandler, SOAPBindingExtensionHandler, SOAPBodyExtensionHandler, SOAPFaultExtensionHandler, SOAPHeaderExtensionHandler, SOAPHeaderFaultExtensionHandler, SOAPOperationExtensionHandler, XMLSchemaParserImpl

public interface WSDLExtensionHandler

Abstraction to allow processing and populating WSDL extensibility elements in to the model.

Author:
Vivek Pandey

Method Summary
 org.xml.sax.ContentHandler getContentHandlerFor(java.lang.String nsUri, java.lang.String localName)
          Gives a ContentHandler if this extension handler can process the extensibility elements idetified by the nsUri and localName
 java.util.Collection<WSDLExtension> getExtensions()
          This method should be called only after the parsing of extensibility element is complete.
 java.util.Collection<WSDLExtension> parseAttribute(org.xml.sax.Attributes atts)
          With this the extension handlers get a chance to process the extensibility attributes.
 

Method Detail

getExtensions

java.util.Collection<WSDLExtension> getExtensions()
This method should be called only after the parsing of extensibility element is complete. Caller will know this when the extension's ContentHandler returns.

Returns:
Immutable collection of WSDLExtension

parseAttribute

java.util.Collection<WSDLExtension> parseAttribute(org.xml.sax.Attributes atts)
With this the extension handlers get a chance to process the extensibility attributes.

Returns:
Immutable collection of WSDLExtensions

getContentHandlerFor

org.xml.sax.ContentHandler getContentHandlerFor(java.lang.String nsUri,
                                                java.lang.String localName)
Gives a ContentHandler if this extension handler can process the extensibility elements idetified by the nsUri and localName

Parameters:
nsUri - namespace of the extensiblity element, always non-null
localName - localName of the extensibility element, always non-null


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.