com.infoengine.soap.wsdl
Class Definitions
java.lang.Object
com.infoengine.soap.wsdl.ElementContainer
com.infoengine.soap.wsdl.Definitions
- public class Definitions
- extends ElementContainer
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 |
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 |
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
Definitions
private Definitions(Element e)
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()