|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.wsif.schema.Parser
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.
Constructor Summary | |
---|---|
Parser()
|
Method Summary | |
---|---|
static void |
getAllSchemaTypes(javax.wsdl.Definition def,
java.util.List schemaTypes,
javax.wsdl.xml.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 |
static void |
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 |
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 |
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 |
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 |
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 |
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 |
public Parser()
Method Detail |
public static void getTypeMappings(javax.wsdl.Definition def, java.util.Map table) throws WSIFException
def
- The Definition object representing the wsdltable
- The Map to proulate with xml type -> Java class name (QName -> String) mappingspublic static void getTypeMappings(javax.wsdl.Definition def, java.util.Map table, java.lang.ClassLoader loader) throws WSIFException
def
- The Definition object representing the wsdltable
- The Map to proulate with xml type -> Java class name (QName -> String) mappingsloader
- A ClassLoader to use in resolving xsd locationspublic static void getTypeMappings(javax.wsdl.Definition def, java.util.Map table, java.lang.ClassLoader loader, boolean includeStandardMappings) throws WSIFException
def
- The Definition object representing the wsdltable
- The Map to proulate with xml type -> Java class name (QName -> String) mappingsloader
- A ClassLoader to use in resolving xsd locationsincludeStandardMappings
- Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappings
should be included in the tablepublic static void getTypeMappings(javax.wsdl.Definition def, java.util.Map table, javax.wsdl.xml.WSDLLocator loc) throws WSIFException
def
- The Definition object representing the wsdltable
- The Map to proulate with xml type -> Java class name (QName -> String) mappingsloc
- WSDLLocator equal or equivalent to that used to locate the original wsdl documentpublic static void getTypeMappings(javax.wsdl.Definition def, java.util.Map table, boolean includeStandardMappings) throws WSIFException
def
- The Definition object representing the wsdltable
- The Map to proulate with xml type -> Java class name (QName -> String) mappingsincludeStandardMappings
- Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappings
should be included in the tablepublic static void getTypeMappings(javax.wsdl.Definition def, java.util.Map table, boolean includeStandardMappings, javax.wsdl.xml.WSDLLocator loc) throws WSIFException
def
- The Definition object representing the wsdltable
- The Map to proulate with xml type -> Java class name (QName -> String) mappingsincludeStandardMappings
- Flag to indicate whether or not standard xsd, soapenc and Apache SOAP mappings
should be included in the tableloc
- WSDLLocator equal or equivalent to that used to locate the original wsdl documentpublic static void getAllSchemaTypes(javax.wsdl.Definition def, java.util.List schemaTypes, javax.wsdl.xml.WSDLLocator loc) throws WSIFException
def
- The Definition object representing the wsdlschemaTypes
- The List to proulate with the SchemaType objectsloc
- WSDLLocator equal or equivalent to that used to locate the original wsdl document. This is required in order
to resolve imported schemas.A
- WSIFException is thrown if a problem occurs when parsing the schemas
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |