Package com.adobe.xfa.wsdl
Class WSDLDocument
- java.lang.Object
-
- com.adobe.xfa.Obj
-
- com.adobe.xfa.Node
-
- com.adobe.xfa.Element
-
- com.adobe.xfa.wsdl.WSDLNode
-
- com.adobe.xfa.wsdl.WSDLDocument
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adobe.xfa.Element
Element.DualDomNode, Element.ReplaceContent
-
Nested classes/interfaces inherited from class com.adobe.xfa.Node
Node.ChangeLogger
-
-
Field Summary
-
Fields inherited from class com.adobe.xfa.wsdl.WSDLNode
WSDL_BINDING, WSDL_BINDING_OPERATION, WSDL_DEFINITIONS, WSDL_DOCUMENT, WSDL_EXTEN, WSDL_FAULT, WSDL_INPUT, WSDL_MESSAGE, WSDL_OPERATION, WSDL_OUTPUT, WSDL_PART, WSDL_PORT, WSDL_PORTTYPE, WSDL_SERVICE, WSDL_TYPES, WSDL_UNKNOWN, WSDLA_BINDING, WSDLA_ELEMENT, WSDLA_MAX, WSDLA_MESSAGE, WSDLA_NAME, WSDLA_NAMESPACE, WSDLA_PARAMETERORDER, WSDLA_TYPE
-
Fields inherited from class com.adobe.xfa.Element
AttrIsDefault, AttrIsFragment, AttrIsTransient, CREATEACTION
-
Fields inherited from class com.adobe.xfa.Node
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE, gsXFANamespacePrefix
-
Fields inherited from interface com.adobe.xfa.ut.Peer
ATTR_CHANGED, CHILD_ADDED, CHILD_REMOVED, DESCENDENT_ADDED, DESCENDENT_ATTR_CHANGED, DESCENDENT_REMOVED, DESCENDENT_VALUE_CHANGED, PARENT_CHANGED, PERMS_LOCK_CLEARED, PERMS_LOCK_SET, PROTO_ATTR_CHANGED, PROTO_CHILD_ADDED, PROTO_CHILD_REMOVED, PROTO_DESCENDENT_ADDED, PROTO_DESCENDENT_ATTR_CHANGED, PROTO_DESCENDENT_REMOVED, PROTO_DESCENDENT_VALUE_CHANGED, PROTO_VALUE_CHANGED, UPDATED, VALUE_CHANGED
-
-
Constructor Summary
Constructors Constructor Description WSDLDocument()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrentFileName()
WSDLNode
getDefinitionsNode()
Get the definitions nodejava.lang.String
getOpenFileName()
Get the uri where this WSDL originally residesjava.lang.String
getTargetNS()
Get the target namespace specifed by the WSDLstatic WSDLDocument
loadFromFile(java.lang.String sFilename, java.lang.String sLoadOptions)
Loads a file/datasource into a document from a file, and creates an abstract schema hierarchy for it.static WSDLDocument
loadFromStream(java.io.InputStream oStream, java.lang.String sFilename, java.lang.String sLoadOptions)
Loads a file/datasource into a model from a stream, and creates an abstract schema hierarchy for it.-
Methods inherited from class com.adobe.xfa.wsdl.WSDLNode
getDomNode, getNamespaceURI, getNodeType, getNSPrefix, getNSURI, getTargetNamespace, getWSDLAttribute, getWSDLChildNode, getWSDLChildNode, getWSDLChildNodesOfType, getWSDLName, getWSDLOwnerDocument, getWSDLParentNode, getWSDLPrefix, setNamespaceURI, setTargetNamespace, setWSDLName, setWSDLPrefix
-
Methods inherited from class com.adobe.xfa.Element
appendChild, appendChild, appendPI, appendPI, assignNode, clone, clone, connectPeerToDocument, constructKey, constructKeys, copyContent, defaultAttribute, defaultElement, defaultElement, establishID, evaluate, explodeQName, findAttr, findSchemaAttr, foundBadAttribute, foundBadAttribute, getAll, getAppModel, getAtom, getAttr, getAttribute, getAttribute, getAttributeByName, getAttrIndex, getAttrName, getAttrNS, getAttrProp, getAttrQName, getAttrVal, getChildReln, getClassAll, getClassIndex, getClassName, getDeltas, getElement, getElement, getElementClass, getElementLocal, getEnum, getEnum, getEventTable, getFirstXFAChild, getFirstXMLChild, getID, getIndex, getInheritedNS, getInstalledLocale, getIsNull, getLastXMLChild, getLineNumber, getLocalName, getModel, getName, getNode, getNodes, getNodeSchema, getNS, getNumAttrs, getOneOfChild, getOneOfChild, getPI, getPI, getPrefix, getProperty, getProperty, getSaveXMLSaveTransient, getSchemaType, getScriptMethodInfo, getScriptTable, getSibling, getText, getXFAChild, getXMLChild, getXMLName, getXPath, getXsiNilAttribute, inhibitPrettyPrint, inhibitPrettyPrint, insertChild, isContainer, isFragment, isHidden, isHidden, isIndexed, isInstalledLocaleAmbient, isLeaf, isNameSpaceAttr, isPropertySpecified, isPropertySpecified, isPropertyValid, isSpecified, isSpecified, isSpecified, isTransient, isTransparent, isValidAttr, isValidChild, isValidElement, loadXML, loadXML, makeDefault, makeNonDefault, newAttribute, optimizeNameSpace, peekAttribute, peekElement, peekOneOfChild, peekProperty, peekProperty, postSave, preSave, privateSetName, processTextChildrenDuringParse, removeAttr, removeAttr, removeChild, removePI, removePI, removeWhiteSpace, removeXsiNilAttribute, replaceChild, resetPostLoadXML, resolveAndEnumerateChildren, resolveNodeCreate, resolvePrefix, saveFilteredXML, saveXML, saveXML, serialize, setAttribute, setAttribute, setAttribute, setAttribute, setAttrProp, setDefaultFlag, setDOMProperties, setElement, setIsDataWindowRoot, setIsIndexed, setLineNumber, setLocalName, setModel, setName, setNS, setOneOfChild, setProperty, setProperty, setQName, setSaveXMLSaveTransient, setTransparent, setXMLName, setXsiNilAttribute, updateFromPeer
-
Methods inherited from class com.adobe.xfa.Node
checkAncestorPerms, checkDescendentPerms, checkPerms, cleanDirtyFlags, compareVersions, getData, getFirstXMLChildElement, getLocked, getNextXFASibling, getNextXMLSibling, getNextXMLSiblingElement, getNodeAsXML, getOwnerDocument, getPIAsXML, getPIName, getPreviousXMLSibling, getPrivateName, getPropName, getSOMExpression, getSOMExpression, getSomName, getUniqueSOMName, getWillDirty, getXFAChildCount, getXFAParent, getXfaPeer, getXMLChildCount, getXMLParent, hasChanged, isDefault, isDirty, isMapped, isPermsLockSet, isTransient, locateChildByClass, locateChildByName, logValueChangeHelper, notifyPeers, performSOMAssignment, remove, resolveNode, resolveNode, resolveNode, resolveNodes, resolveNodes, sendMessenge, setDirty, setDocument, setLocked, setMapped, setPermsLock, setPrivateName, setWillDirty, setXfaPeer, unLock, validateSchema, validateUsage, validateUsageFailedIsFatal
-
Methods inherited from class com.adobe.xfa.Obj
addPeer, addPeeredNode, clearPeers, deafen, getClassAtom, getClassTag, getPeer, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, peerRemoved, removePeer, removePeeredNode, setClass, setClassTag, setScriptProperty, unDeafen, unMute
-
-
-
-
Method Detail
-
loadFromFile
public static WSDLDocument loadFromFile(java.lang.String sFilename, java.lang.String sLoadOptions)
Loads a file/datasource into a document from a file, and creates an abstract schema hierarchy for it.- Parameters:
sFilename
- - the name of the file that contains the data to load.sLoadOptions
- - (optional) loading options.- Returns:
- The created abstract schema model
- Throws:
AS_INVALIDDTDEXCEPTION
- - thrown if an invalid DTD definition is encounteredAS_CREATESCHEMAEXCEPTION
- - thrown if failed to load and create an XML Schema definitionAS_INVALIDELEMENTNAMEEXCEPTION
- - thrown if schema defines an invalid name for an element declaration
-
loadFromStream
public static WSDLDocument loadFromStream(java.io.InputStream oStream, java.lang.String sFilename, java.lang.String sLoadOptions)
Loads a file/datasource into a model from a stream, and creates an abstract schema hierarchy for it.- Parameters:
oStream
- - The stream that contains the data to load.sFilename
- - Input file name.sLoadOptions
- - (optional) loading options.- Returns:
- The created abstract schema model
- Throws:
AS_INVALIDDTDEXCEPTION
- - thrown if an invalid DTD definition is encounteredAS_CREATESCHEMAEXCEPTION
- - thrown if failed to load and create an XML Schema definitionAS_INVALIDELEMENTNAMEEXCEPTION
- - thrown if schema defines an invalid name for an element declaration
-
getDefinitionsNode
public WSDLNode getDefinitionsNode()
Get the definitions node- Returns:
- the
WSDLNode
that is the definitions node of typeWSDL_DEFINITIONS
-
getTargetNS
public java.lang.String getTargetNS()
Get the target namespace specifed by the WSDL- Returns:
- the target namespace URI
-
getOpenFileName
public java.lang.String getOpenFileName()
Get the uri where this WSDL originally resides- Returns:
- the uri where this WSDL originally resides
-
getCurrentFileName
public java.lang.String getCurrentFileName()
-
-