hu.soft4d.minerva.wsdl
Class SchemaHelper

java.lang.Object
  extended by hu.soft4d.minerva.wsdl.SchemaHelper

public class SchemaHelper
extends java.lang.Object

Various utility methods, used in the parsing process.

Author:
Zsolt Kiss-Gere, 4DSoft Ltd.

Constructor Summary
SchemaHelper()
           
 
Method Summary
static org.w3c.dom.Document getDOMDocument(java.lang.String uri)
           
static org.w3c.dom.ls.DOMImplementationLS getDOMImplementationLS()
           
static org.apache.xerces.xs.XSModel[] getSchemaModels(org.w3c.dom.Document document, java.lang.String wsdlUri)
           
static org.apache.xerces.xs.XSModel[] getSchemaModels(java.lang.String wsdlUri)
           
static org.apache.xerces.xs.XSTypeDefinition getTypeDefinition(org.apache.xerces.xs.XSModel[] schemas, javax.xml.namespace.QName qname)
          Looks for the type given by qname in the schema models and returns the first one found, or null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaHelper

public SchemaHelper()
Method Detail

getSchemaModels

public static org.apache.xerces.xs.XSModel[] getSchemaModels(java.lang.String wsdlUri)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getSchemaModels

public static org.apache.xerces.xs.XSModel[] getSchemaModels(org.w3c.dom.Document document,
                                                             java.lang.String wsdlUri)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getDOMDocument

public static org.w3c.dom.Document getDOMDocument(java.lang.String uri)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

getDOMImplementationLS

public static org.w3c.dom.ls.DOMImplementationLS getDOMImplementationLS()
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getTypeDefinition

public static org.apache.xerces.xs.XSTypeDefinition getTypeDefinition(org.apache.xerces.xs.XSModel[] schemas,
                                                                      javax.xml.namespace.QName qname)
Looks for the type given by qname in the schema models and returns the first one found, or null.