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

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

public class SOAPFaultExtensionHandler
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
SOAPFaultExtensionHandler(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.
 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 org.jvnet.wom.impl.extension.wsdl11.AbstractWSDLExtensionHandler
canHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPFaultExtensionHandler

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

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

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
Overrides:
parseAttribute in class AbstractWSDLExtensionHandler
Returns:
Immutable collection of WSDLExtensions

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


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