org.jaggeryjs.modules.ws
Class WSStubHostObject

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.jaggeryjs.modules.ws.WSStubHostObject
All Implemented Interfaces:
Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class WSStubHostObject
extends org.mozilla.javascript.ScriptableObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
WSStubHostObject()
           
 
Method Summary
 String genarateStubFromURL(String type, String url)
          Given a uri to a WSDL this operation returns the JavaScript stub for that service
 String getClassName()
           
static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx, Object[] args, org.mozilla.javascript.Function thisObj, boolean inNewExpr)
           
 org.mozilla.javascript.Scriptable jsGet_services()
           
 org.mozilla.javascript.Scriptable jsGet_webService()
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSStubHostObject

public WSStubHostObject()
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

jsConstructor

public static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx,
                                                              Object[] args,
                                                              org.mozilla.javascript.Function thisObj,
                                                              boolean inNewExpr)
                                                       throws org.jaggeryjs.scriptengine.exceptions.ScriptException
Throws:
org.jaggeryjs.scriptengine.exceptions.ScriptException

jsGet_services

public org.mozilla.javascript.Scriptable jsGet_services()

jsGet_webService

public org.mozilla.javascript.Scriptable jsGet_webService()

genarateStubFromURL

public String genarateStubFromURL(String type,
                                  String url)
                           throws org.jaggeryjs.scriptengine.exceptions.ScriptException
Given a uri to a WSDL this operation returns the JavaScript stub for that service

Parameters:
type - - dom or e4x
url - - URL to the WSDL document
Returns:
- The JavaScript stub as a String
Throws:
org.wso2.carbon.CarbonException - - Thrown in case an exception occurs
org.jaggeryjs.scriptengine.exceptions.ScriptException


Copyright © 2015 WSO2 Inc. All rights reserved.