com.sun.tools.ws.wsdl.parser
Class WSDLParser

java.lang.Object
  extended by com.sun.tools.ws.wsdl.parser.WSDLParser

public class WSDLParser
extends java.lang.Object

A parser for WSDL documents. This parser is used only at the tool time. Extensions should extend TWSDLExtensionHandler, so that it will be called during parsing wsdl to handle wsdl extenisbility elements. Generally these extensions will effect the artifacts generated during WSDL processing.

See Also:
which will be used for WSDL parsing at runtime.

Constructor Summary
WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver)
           
WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest)
           
 
Method Summary
 void addParserListener(ParserListener l)
           
 MetadataFinder getDOMForest()
           
 WSDLDocument parse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLParser

public WSDLParser(WsimportOptions options,
                  ErrorReceiverFilter errReceiver,
                  MetadataFinder forest)

WSDLParser

WSDLParser(WsimportOptions options,
           ErrorReceiverFilter errReceiver)
Method Detail

addParserListener

public void addParserListener(ParserListener l)

parse

public WSDLDocument parse()
                   throws org.xml.sax.SAXException,
                          java.io.IOException
Throws:
org.xml.sax.SAXException
java.io.IOException

getDOMForest

public MetadataFinder getDOMForest()


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.