com.sun.xml.ws.wsdl.parser
Class RuntimeWSDLParser

java.lang.Object
  extended by com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser

public class RuntimeWSDLParser
extends Object

Parses WSDL and builds WSDLModel.


Field Summary
(package private)  List<WSDLParserExtension> extensions
           
(package private)  Map<String,String> port_nsdecl
           
(package private)  Map<String,String> service_nsdecl
           
(package private)  Map<String,String> wsdldef_nsdecl
           
 
Method Summary
static WSDLModelImpl parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, Class serviceClass, PolicyResolver policyResolver, boolean isUseStreamFromEntityResolverWrapper, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, Class serviceClass, PolicyResolver policyResolver, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, Class serviceClass, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions)
           
static WSDLModelImpl parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions)
           
protected  void parseImport(URL baseURL, javax.xml.stream.XMLStreamReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

List<WSDLParserExtension> extensions

wsdldef_nsdecl

Map<String,String> wsdldef_nsdecl

service_nsdecl

Map<String,String> service_nsdecl

port_nsdecl

Map<String,String> port_nsdecl
Method Detail

parse

public static WSDLModelImpl parse(@Nullable
                                  URL wsdlLoc,
                                  @NotNull
                                  Source wsdlSource,
                                  @NotNull
                                  EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  WSDLParserExtension... extensions)
                           throws IOException,
                                  javax.xml.stream.XMLStreamException,
                                  SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException

parse

public static WSDLModelImpl parse(@Nullable
                                  URL wsdlLoc,
                                  @NotNull
                                  Source wsdlSource,
                                  @NotNull
                                  EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  Class serviceClass,
                                  WSDLParserExtension... extensions)
                           throws IOException,
                                  javax.xml.stream.XMLStreamException,
                                  SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException

parse

public static WSDLModelImpl parse(@Nullable
                                  URL wsdlLoc,
                                  @NotNull
                                  Source wsdlSource,
                                  @NotNull
                                  EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  @NotNull
                                  PolicyResolver policyResolver,
                                  WSDLParserExtension... extensions)
                           throws IOException,
                                  javax.xml.stream.XMLStreamException,
                                  SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException

parse

public static WSDLModelImpl parse(@Nullable
                                  URL wsdlLoc,
                                  @NotNull
                                  Source wsdlSource,
                                  @NotNull
                                  EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  Class serviceClass,
                                  @NotNull
                                  PolicyResolver policyResolver,
                                  WSDLParserExtension... extensions)
                           throws IOException,
                                  javax.xml.stream.XMLStreamException,
                                  SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException

parse

public static WSDLModelImpl parse(@Nullable
                                  URL wsdlLoc,
                                  @NotNull
                                  Source wsdlSource,
                                  @NotNull
                                  EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  Class serviceClass,
                                  @NotNull
                                  PolicyResolver policyResolver,
                                  boolean isUseStreamFromEntityResolverWrapper,
                                  WSDLParserExtension... extensions)
                           throws IOException,
                                  javax.xml.stream.XMLStreamException,
                                  SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException

parse

public static WSDLModelImpl parse(XMLEntityResolver.Parser wsdl,
                                  XMLEntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  PolicyResolver policyResolver,
                                  WSDLParserExtension... extensions)
                           throws IOException,
                                  javax.xml.stream.XMLStreamException,
                                  SAXException
Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException

parse

public static WSDLModelImpl parse(XMLEntityResolver.Parser wsdl,
                                  XMLEntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  WSDLParserExtension... extensions)
                           throws IOException,
                                  javax.xml.stream.XMLStreamException,
                                  SAXException
Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException

parseImport

protected void parseImport(@Nullable
                           URL baseURL,
                           javax.xml.stream.XMLStreamReader reader)
                    throws IOException,
                           SAXException,
                           javax.xml.stream.XMLStreamException
Throws:
IOException
SAXException
javax.xml.stream.XMLStreamException


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