| java.lang.Object org.apache.wsif.schema.Parser
Parser | public class Parser (Code) | | A class used for parsing the schema(s) defined in a Definition object. It does not provide
full schema parsing. Its main purpose is to help in determining a list off all the types that
are defined in schemas either inline in the wsdl document or imported xsd files.
author: Owen Burroughs |
Method Summary | |
public static void | getAllSchemaTypes(Definition def, List schemaTypes, WSDLLocator loc) Populate a List with all the top level SchemaType objects (complexTypes, simpleTypes and elements) generated
by parsing the schemas associated with a Definition object
Parameters: def - The Definition object representing the wsdl Parameters: schemaTypes - The List to proulate with the SchemaType objects Parameters: loc - WSDLLocator equal or equivalent to that used to locate the original wsdl document. | public static void | getTypeMappings(Definition def, 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. | public static void | getTypeMappings(Definition def, Map table, 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. | public static void | getTypeMappings(Definition def, Map table, 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. | public static void | getTypeMappings(Definition def, Map table, 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. | public static void | getTypeMappings(Definition def, 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. | public static void | getTypeMappings(Definition def, Map table, boolean includeStandardMappings, 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. |
getAllSchemaTypes | public static void getAllSchemaTypes(Definition def, List schemaTypes, WSDLLocator loc) throws WSIFException(Code) | | Populate a List with all the top level SchemaType objects (complexTypes, simpleTypes and elements) generated
by parsing the schemas associated with a Definition object
Parameters: def - The Definition object representing the wsdl Parameters: schemaTypes - The List to proulate with the SchemaType objects Parameters: loc - WSDLLocator equal or equivalent to that used to locate the original wsdl document. This is required in orderto resolve imported schemas. exception: A - WSIFException is thrown if a problem occurs when parsing the schemas |
getTypeMappings | public static void getTypeMappings(Definition def, Map table) throws WSIFException(Code) | | 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 Parameters: table - The Map to proulate with xml type -> Java class name (QName -> String) mappings |
getTypeMappings | public static void getTypeMappings(Definition def, Map table, ClassLoader loader) throws WSIFException(Code) | | 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 Parameters: table - The Map to proulate with xml type -> Java class name (QName -> String) mappings Parameters: loader - A ClassLoader to use in resolving xsd locations |
getTypeMappings | public static void getTypeMappings(Definition def, Map table, ClassLoader loader, boolean includeStandardMappings) throws WSIFException(Code) | | 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 Parameters: table - The Map to proulate with xml type -> Java class name (QName -> String) mappings Parameters: loader - A ClassLoader to use in resolving xsd locations Parameters: includeStandardMappings - Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappingsshould be included in the table |
getTypeMappings | public static void getTypeMappings(Definition def, Map table, WSDLLocator loc) throws WSIFException(Code) | | 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 Parameters: table - The Map to proulate with xml type -> Java class name (QName -> String) mappings Parameters: loc - WSDLLocator equal or equivalent to that used to locate the original wsdl document |
getTypeMappings | public static void getTypeMappings(Definition def, Map table, boolean includeStandardMappings) throws WSIFException(Code) | | 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 Parameters: table - The Map to proulate with xml type -> Java class name (QName -> String) mappings Parameters: includeStandardMappings - Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappingsshould be included in the table |
getTypeMappings | public static void getTypeMappings(Definition def, Map table, boolean includeStandardMappings, WSDLLocator loc) throws WSIFException(Code) | | 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 Parameters: table - The Map to proulate with xml type -> Java class name (QName -> String) mappings Parameters: includeStandardMappings - Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappingsshould be included in the table Parameters: loc - WSDLLocator equal or equivalent to that used to locate the original wsdl document |
|
|