org.ow2.easywsdl.wsdl.util
Class WSDLVersionDetector

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.ow2.easywsdl.wsdl.util.WSDLVersionDetector
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class WSDLVersionDetector
extends org.xml.sax.helpers.DefaultHandler


Constructor Summary
WSDLVersionDetector()
           
 
Method Summary
 AbsItfDescription.WSDLVersionConstants getVersion()
           
static AbsItfDescription.WSDLVersionConstants getVersion(org.w3c.dom.Document doc)
           
static AbsItfDescription.WSDLVersionConstants getVersion(org.xml.sax.InputSource input)
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLVersionDetector

public WSDLVersionDetector()
Method Detail

getVersion

public AbsItfDescription.WSDLVersionConstants getVersion()

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String name,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

getVersion

public static AbsItfDescription.WSDLVersionConstants getVersion(org.xml.sax.InputSource input)
                                                         throws WSDLException
Throws:
WSDLException

getVersion

public static AbsItfDescription.WSDLVersionConstants getVersion(org.w3c.dom.Document doc)


Copyright © 2008-2009 Petals Link (previously EBM WebSourcing). All Rights Reserved.