org.jvnet.wom.impl.extension.wsdl11
Class AbstractWSDLExtensionHandler

java.lang.Object
  extended by org.jvnet.wom.impl.extension.wsdl11.AbstractWSDLExtensionHandler
All Implemented Interfaces:
WSDLExtensionHandler
Direct Known Subclasses:
MimeMultipartParser, SOAPAddressExtensionHandler, SOAPBindingExtensionHandler, SOAPBodyExtensionHandler, SOAPFaultExtensionHandler, SOAPHeaderExtensionHandler, SOAPHeaderFaultExtensionHandler, SOAPOperationExtensionHandler

public abstract class AbstractWSDLExtensionHandler
extends java.lang.Object
implements WSDLExtensionHandler

Any WSDL extensibility handler can extend from this abstract class.

Author:
Vivek Pandey

Nested Class Summary
protected  class AbstractWSDLExtensionHandler.WSDLExtensibilityContentHandler
           
 
Field Summary
protected  org.xml.sax.EntityResolver entityResolver
           
protected  org.xml.sax.ErrorHandler errorHandler
           
 
Constructor Summary
protected AbstractWSDLExtensionHandler(org.xml.sax.ErrorHandler errorHandler, org.xml.sax.EntityResolver entityResolver)
           
 
Method Summary
protected  boolean canHandle(java.lang.String uri, java.lang.String localName)
           
protected abstract  javax.xml.namespace.QName[] getExtensionNames()
           
 java.util.Collection<WSDLExtension> parseAttribute(org.xml.sax.Attributes atts)
          With this the extension handlers get a chance to process the extensibility attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jvnet.wom.api.parser.WSDLExtensionHandler
getContentHandlerFor, getExtensions
 

Field Detail

errorHandler

protected final org.xml.sax.ErrorHandler errorHandler

entityResolver

protected final org.xml.sax.EntityResolver entityResolver
Constructor Detail

AbstractWSDLExtensionHandler

protected AbstractWSDLExtensionHandler(org.xml.sax.ErrorHandler errorHandler,
                                       org.xml.sax.EntityResolver entityResolver)
Method Detail

parseAttribute

public java.util.Collection<WSDLExtension> parseAttribute(org.xml.sax.Attributes atts)
Description copied from interface: WSDLExtensionHandler
With this the extension handlers get a chance to process the extensibility attributes.

Specified by:
parseAttribute in interface WSDLExtensionHandler
Returns:
Immutable collection of WSDLExtensions

getExtensionNames

protected abstract javax.xml.namespace.QName[] getExtensionNames()

canHandle

protected boolean canHandle(java.lang.String uri,
                            java.lang.String localName)


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