com.infoengine.soap.wsdl
Class Definitions

java.lang.Object
  extended bycom.infoengine.soap.wsdl.ElementContainer
      extended bycom.infoengine.soap.wsdl.Definitions

public class Definitions
extends ElementContainer


Nested Class Summary
(package private)  class Definitions.CacheEntry
           
 
Field Summary
private static boolean _cacheWsdl
           
private static Hashtable _wsdlCache
           
private static boolean DEBUG
           
private static HostnameVerifier HOST_VERIFIER
           
private  String lastModified
           
private  String name
           
private  Hashtable namespaces
           
(package private)  Element root
           
private  Hashtable schemaElements
           
private  Vector services
           
private static SSLSocketFactory SOCKET_FACTORY
           
private  String targetNamespace
           
private static long TTL
           
 
Fields inherited from class com.infoengine.soap.wsdl.ElementContainer
_element, definitions, documentation, MIME, MIME_URI, parent, SCHEMA, SCHEMA_URI_END, SCHEMA_URI_START, SOAP, SOAP_URI, WSDL, WSDL_URI
 
Constructor Summary
private Definitions(Element e)
           
 
Method Summary
(package private)  void addSchemaElement(SchemaElement elm)
           
static void expire(String wsdlUrl)
           
private  Definitions.CacheEntry getCacheEntry()
           
static boolean getCacheWsdl()
           
 Element getElement()
           
static Definitions getInstance(String wsdlUrl)
           
 String getLastModified()
           
 String getNamespace(String prefix)
           
 Enumeration getNamespacePrefixes()
           
(package private)  SchemaElement getSchemaElement(String type)
           
 Service getService(int index)
           
 Service getService(String name)
           
 int getServiceCount()
           
 String getTargetNamespace()
           
static void main(String[] args)
           
private static void printComplexType(Part p)
           
private static void printComplexType(SchemaElement schema, String indent)
           
private static void printDocumentation(ElementContainer ec, String indent)
           
static void purge()
           
static void purge(String wsdlUrl)
           
static void purgeExpired()
           
private static Definitions retrieveInstance(String wsdlUrl)
           
private static Definitions retrieveInstance(String wsdlUrl, Definitions previous)
           
static void setCacheWsdl(boolean cache)
           
 void setElement(Element e)
           
 
Methods inherited from class com.infoengine.soap.wsdl.ElementContainer
checkNameSpaces, checkNameSpaces, findImmediateChild, getAttribute, getDocumentation, getElementsByTagName, getMimeNS, getSchemaNS, getSoapNS, getWsdlNS, stripNS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG
See Also:
Constant Field Values

_cacheWsdl

private static boolean _cacheWsdl

_wsdlCache

private static Hashtable _wsdlCache

TTL

private static final long TTL
See Also:
Constant Field Values

root

Element root

lastModified

private String lastModified

name

private String name

services

private Vector services

targetNamespace

private String targetNamespace

namespaces

private Hashtable namespaces

schemaElements

private Hashtable schemaElements

SOCKET_FACTORY

private static SSLSocketFactory SOCKET_FACTORY

HOST_VERIFIER

private static HostnameVerifier HOST_VERIFIER
Constructor Detail

Definitions

private Definitions(Element e)
Method Detail

setCacheWsdl

public static void setCacheWsdl(boolean cache)

getCacheWsdl

public static boolean getCacheWsdl()

expire

public static void expire(String wsdlUrl)

purge

public static void purge()

purge

public static void purge(String wsdlUrl)

purgeExpired

public static void purgeExpired()

getInstance

public static Definitions getInstance(String wsdlUrl)
                               throws Exception
Throws:
Exception

retrieveInstance

private static Definitions retrieveInstance(String wsdlUrl)
                                     throws Exception
Throws:
Exception

retrieveInstance

private static Definitions retrieveInstance(String wsdlUrl,
                                            Definitions previous)
                                     throws Exception
Throws:
Exception

getLastModified

public String getLastModified()

getTargetNamespace

public String getTargetNamespace()

getNamespacePrefixes

public Enumeration getNamespacePrefixes()

getNamespace

public String getNamespace(String prefix)

getServiceCount

public int getServiceCount()

getService

public Service getService(int index)

getService

public Service getService(String name)

getElement

public Element getElement()
Overrides:
getElement in class ElementContainer

setElement

public void setElement(Element e)
Specified by:
setElement in class ElementContainer

addSchemaElement

void addSchemaElement(SchemaElement elm)

getSchemaElement

SchemaElement getSchemaElement(String type)

printDocumentation

private static void printDocumentation(ElementContainer ec,
                                       String indent)

printComplexType

private static void printComplexType(SchemaElement schema,
                                     String indent)

printComplexType

private static void printComplexType(Part p)

main

public static void main(String[] args)

getCacheEntry

private Definitions.CacheEntry getCacheEntry()