org.globus.wsrf.tools.wsdl
Class WSDLPreprocessor
java.lang.Object
org.globus.wsrf.tools.CommandLineTool
org.globus.wsrf.tools.wsdl.WSDLPreprocessor
- All Implemented Interfaces:
- WSDLPreprocessorConstants
- public class WSDLPreprocessor
- extends CommandLineTool
- implements WSDLPreprocessorConstants
|
Method Summary |
private static void |
addImports(javax.wsdl.Definition definition,
javax.wsdl.Definition parentDefinition)
|
private static void |
fixNameSpaces(javax.wsdl.PortType porttype,
javax.wsdl.Definition definition)
|
private static javax.wsdl.PortType |
flatten(javax.wsdl.PortType portType,
javax.wsdl.Definition definition,
javax.wsdl.Definition parentDefinition,
java.util.List portTypeNames,
java.util.Map resourcePropertyElements,
java.util.Map schemaDocumentLocations)
|
private static java.util.List |
getDependencies(javax.wsdl.PortType portType)
|
protected static java.lang.String |
getRelativePath(java.lang.String srcPathURI,
java.lang.String destPathURI)
|
static java.util.Map |
getResourceProperties(javax.xml.namespace.QName resourceProperties,
javax.wsdl.Definition def,
java.util.Map documentLocations)
|
private static org.w3c.dom.Element |
getSchemaElement(javax.wsdl.Definition def)
|
private static org.apache.xerces.xs.XSModel |
loadSchema(org.w3c.dom.Element schema,
javax.wsdl.Definition def)
|
static void |
main(java.lang.String[] args)
|
private static void |
populateLocations(org.apache.xerces.xs.XSModel schemaModel,
java.util.Map documentLocations,
javax.wsdl.Definition def)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nameSpaceCounter
private static int nameSpaceCounter
wsaImport
private static boolean wsaImport
logger
private static org.apache.commons.logging.Log logger
quiet
private static boolean quiet
WSDLPreprocessor
public WSDLPreprocessor()
main
public static void main(java.lang.String[] args)
flatten
private static javax.wsdl.PortType flatten(javax.wsdl.PortType portType,
javax.wsdl.Definition definition,
javax.wsdl.Definition parentDefinition,
java.util.List portTypeNames,
java.util.Map resourcePropertyElements,
java.util.Map schemaDocumentLocations)
addImports
private static void addImports(javax.wsdl.Definition definition,
javax.wsdl.Definition parentDefinition)
getDependencies
private static java.util.List getDependencies(javax.wsdl.PortType portType)
getSchemaElement
private static org.w3c.dom.Element getSchemaElement(javax.wsdl.Definition def)
loadSchema
private static org.apache.xerces.xs.XSModel loadSchema(org.w3c.dom.Element schema,
javax.wsdl.Definition def)
populateLocations
private static void populateLocations(org.apache.xerces.xs.XSModel schemaModel,
java.util.Map documentLocations,
javax.wsdl.Definition def)
getResourceProperties
public static java.util.Map getResourceProperties(javax.xml.namespace.QName resourceProperties,
javax.wsdl.Definition def,
java.util.Map documentLocations)
fixNameSpaces
private static void fixNameSpaces(javax.wsdl.PortType porttype,
javax.wsdl.Definition definition)
getRelativePath
protected static java.lang.String getRelativePath(java.lang.String srcPathURI,
java.lang.String destPathURI)