org.jvnet.wom.impl.extension.wsdl11.soap
Class SOAPHeaderFaultExtensionHandler

java.lang.Object
  extended by org.jvnet.wom.impl.extension.wsdl11.AbstractWSDLExtensionHandler
      extended by org.jvnet.wom.impl.extension.wsdl11.soap.SOAPHeaderFaultExtensionHandler
All Implemented Interfaces:
WSDLExtensionHandler

public class SOAPHeaderFaultExtensionHandler
extends AbstractWSDLExtensionHandler

Author:
Vivek Pandey

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jvnet.wom.impl.extension.wsdl11.AbstractWSDLExtensionHandler
AbstractWSDLExtensionHandler.WSDLExtensibilityContentHandler
 
Field Summary
 
Fields inherited from class org.jvnet.wom.impl.extension.wsdl11.AbstractWSDLExtensionHandler
entityResolver, errorHandler
 
Constructor Summary
SOAPHeaderFaultExtensionHandler(org.xml.sax.ErrorHandler errorHandler, org.xml.sax.EntityResolver entityResolver)
           
 
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
protected  javax.xml.namespace.QName[] getExtensionNames()
           
 java.util.Collection<WSDLExtension> getExtensions()
          This method should be called only after the parsing of extensibility element is complete.
 
Methods inherited from class org.jvnet.wom.impl.extension.wsdl11.AbstractWSDLExtensionHandler
canHandle, parseAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPHeaderFaultExtensionHandler

public SOAPHeaderFaultExtensionHandler(org.xml.sax.ErrorHandler errorHandler,
                                       org.xml.sax.EntityResolver entityResolver)
Method Detail

getContentHandlerFor

public org.xml.sax.ContentHandler getContentHandlerFor(java.lang.String nsUri,
                                                       java.lang.String localName)
Description copied from interface: WSDLExtensionHandler
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

getExtensions

public java.util.Collection<WSDLExtension> getExtensions()
Description copied from interface: WSDLExtensionHandler
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

getExtensionNames

protected javax.xml.namespace.QName[] getExtensionNames()
Specified by:
getExtensionNames in class AbstractWSDLExtensionHandler


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