org.jvnet.wom.impl.extension.wsdl11.mime
Class MimeMultipartParser

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

public class MimeMultipartParser
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
MimeMultipartParser(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

MimeMultipartParser

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

getExtensionNames

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

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

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.