org.apache.wsif.schema
Class Parser

java.lang.Objec
  |
  +--

org.apache.wsif.schema.Parser

public class

Parser

extends java.lang.Object

A class used for parsing the schema(s) defined in a Definition object.

Author:

Owen Burroughs

 

Constructor Summary

Parser()
 
 

 

Method Summary

static void java.util.Map)">getTypeMappings(javax.wsdl.Definition def, java.util.Map table)
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.
static void java.util.Map, boolean)">getTypeMappings(javax.wsdl.Definition def, java.util.Map table, boolean includeStandardMappings)
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.
static void java.util.Map, boolean, javax.wsdl.xml.WSDLLocator)">getTypeMappings(javax.wsdl.Definition def, java.util.Map table, boolean includeStandardMappings, javax.wsdl.xml.WSDLLocator loc)
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.
static void java.util.Map, java.lang.ClassLoader)">getTypeMappings(javax.wsdl.Definition def, java.util.Map table, java.lang.ClassLoader loader)
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.
static void java.util.Map, java.lang.ClassLoader, boolean)">getTypeMappings(javax.wsdl.Definition def, java.util.Map table, java.lang.ClassLoader loader, boolean includeStandardMappings)
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.
static void java.util.Map, javax.wsdl.xml.WSDLLocator)">getTypeMappings(javax.wsdl.Definition def, java.util.Map table, javax.wsdl.xml.WSDLLocator loc)
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.
 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

 

Constructor Detail

 

Parser

public 

Parser

()

 

Method Detail

java.util.Map)">

 

getTypeMappings

public static void 

getTypeMappings

(javax.wsdl.Definition def, java.util.Map table) throws WSIFException
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.

Parameters:

def - The Definition object representing the wsdl
table - The Map to proulate with xml type -> Java class name (QName -> String) mappings
java.util.Map, java.lang.ClassLoader)">

 

getTypeMappings

public static void 

getTypeMappings

(javax.wsdl.Definition def, java.util.Map table, java.lang.ClassLoader loader) throws WSIFException
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.

Parameters:

def - The Definition object representing the wsdl
table - The Map to proulate with xml type -> Java class name (QName -> String) mappings
loader - A ClassLoader to use in resolving xsd locations
java.util.Map, java.lang.ClassLoader, boolean)">

 

getTypeMappings

public static void 

getTypeMappings

(javax.wsdl.Definition def, java.util.Map table, java.lang.ClassLoader loader, boolean includeStandardMappings) throws WSIFException
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.

Parameters:

def - The Definition object representing the wsdl
table - The Map to proulate with xml type -> Java class name (QName -> String) mappings
loader - A ClassLoader to use in resolving xsd locations
includeStandardMappings - Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappings should be included in the table
java.util.Map, javax.wsdl.xml.WSDLLocator)">

 

getTypeMappings

public static void 

getTypeMappings

(javax.wsdl.Definition def, java.util.Map table, javax.wsdl.xml.WSDLLocator loc) throws WSIFException
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.

Parameters:

def - The Definition object representing the wsdl
table - The Map to proulate with xml type -> Java class name (QName -> String) mappings
loc - WSDLLocator equal or equivalent to that used to locate the original wsdl document
java.util.Map, boolean)">

 

getTypeMappings

public static void 

getTypeMappings

(javax.wsdl.Definition def, java.util.Map table, boolean includeStandardMappings) throws WSIFException
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.

Parameters:

def - The Definition object representing the wsdl
table - The Map to proulate with xml type -> Java class name (QName -> String) mappings
includeStandardMappings - Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappings should be included in the table
java.util.Map, boolean, javax.wsdl.xml.WSDLLocator)">

 

getTypeMappings

public static void 

getTypeMappings

(javax.wsdl.Definition def, java.util.Map table, boolean includeStandardMappings, javax.wsdl.xml.WSDLLocator loc) throws WSIFException
Given a Definition object, populate a Map with all the types defined in the schemas in the definition and their corresponding Java class names.

Parameters:

def - The Definition object representing the wsdl
table - The Map to proulate with xml type -> Java class name (QName -> String) mappings
includeStandardMappings - Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappings should be included in the table
loc - WSDLLocator equal or equivalent to that used to locate the original wsdl document
Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.