Package com.adobe.xfa.wsdl
Class WSDLNode
- java.lang.Object
-
- com.adobe.xfa.Obj
-
- com.adobe.xfa.Node
-
- com.adobe.xfa.Element
-
- com.adobe.xfa.wsdl.WSDLNode
-
- All Implemented Interfaces:
Peer
- Direct Known Subclasses:
WSDLBindingOperation
,WSDLDocument
,WSDLExten
,WSDLMessage
,WSDLOperation
,WSDLPart
public class WSDLNode extends Element
TheWSDLNode
interface is the primary datatype for the entire Web Services Description Language Model.
-
-
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 Modifier and Type Field Description static int
WSDL_BINDING
static int
WSDL_BINDING_OPERATION
static int
WSDL_DEFINITIONS
static int
WSDL_DOCUMENT
static int
WSDL_EXTEN
static int
WSDL_FAULT
static int
WSDL_INPUT
static int
WSDL_MESSAGE
static int
WSDL_OPERATION
static int
WSDL_OUTPUT
static int
WSDL_PART
static int
WSDL_PORT
static int
WSDL_PORTTYPE
static int
WSDL_SERVICE
static int
WSDL_TYPES
static int
WSDL_UNKNOWN
Enumeration of supported node type definitions.static int
WSDLA_BINDING
Enumeration of supported attributes.static int
WSDLA_ELEMENT
static int
WSDLA_MAX
static int
WSDLA_MESSAGE
static int
WSDLA_NAME
static int
WSDLA_NAMESPACE
static int
WSDLA_PARAMETERORDER
static int
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 WSDLNode(WSDLDocument poDocument, Element oSrc, int eType)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
getDomNode()
java.lang.String
getNamespaceURI()
The namespace URI of this nodeint
getNodeType()
The code representing the type of object represented by thisWSDLNode
java.lang.String
getNSPrefix(java.lang.String sURI)
java.lang.String
getNSURI(java.lang.String sPrefix)
java.lang.String
getTargetNamespace()
The target namespace of this nodejava.lang.String
getWSDLAttribute(int eNodeAttribute)
Gets aString
containing the named attribute of this node (if it is has the named attribute or Sting::EmptyString() otherwise.WSDLNode
getWSDLChildNode(int inType, java.lang.String inName)
WSDLNode
getWSDLChildNode(int inType, java.lang.String inName, java.lang.String inTargetNS)
java.util.List<WSDLNode>
getWSDLChildNodesOfType(int inType)
java.lang.String
getWSDLName()
The qualified name (W3C::QName) of this node depending on its type (specified bygetNodeType()
).WSDLDocument
getWSDLOwnerDocument()
Gets theDocument
object associated with this node.WSDLNode
getWSDLParentNode()
java.lang.String
getWSDLPrefix()
void
setNamespaceURI(java.lang.String sNSURI)
void
setTargetNamespace(java.lang.String sTargetNS)
void
setWSDLName(java.lang.String sNodeName)
void
setWSDLPrefix(java.lang.String sPrefix)
-
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
-
-
-
-
Field Detail
-
WSDL_UNKNOWN
public static final int WSDL_UNKNOWN
Enumeration of supported node type definitions.WSDL_DOCUMENT : this node is a
WSDLDocument
WSDL_DEFINITIONS : this node is aWSDLNode
of type WSDL_DEFINITIONS WSDL_TYPES : this node is aWSDLNode
of type WSDL_TYPES WSDL_MESSAGE : this node is aWSDLMessage
WSDL_PART : this node is aWSDLPart
WSDL_OPERATION : this node is aWSDLOperation
WSDL_PORTTYPE : this node is aWSDLNode
of type WSDL_PORTYPE WSDL_BINDING : this node is aWSDLNode
of type WSDL_BINDING WSDL_BINDING_OPERATION : this node is aWSDLBindingOperation
WSDL_SERVICE : this node is aWSDLNode
of type WSDL_SERVICE WSDL_INPUT : this node is aWSDLNode
of type WSDL_INPUT WSDL_OUTPUT : this node is aWSDLNode
of type WSDL_OUTPUT WSDL_FAULT : this node is aWSDLNode
of type WSDL_FAULT WSDL_PORT : this node is aWSDLNode
of type WSDL_PORT WSDL_EXTEN : this node is aWSDLExten
- See Also:
- Constant Field Values
-
WSDL_DOCUMENT
public static final int WSDL_DOCUMENT
- See Also:
- Constant Field Values
-
WSDL_DEFINITIONS
public static final int WSDL_DEFINITIONS
- See Also:
- Constant Field Values
-
WSDL_TYPES
public static final int WSDL_TYPES
- See Also:
- Constant Field Values
-
WSDL_MESSAGE
public static final int WSDL_MESSAGE
- See Also:
- Constant Field Values
-
WSDL_PART
public static final int WSDL_PART
- See Also:
- Constant Field Values
-
WSDL_OPERATION
public static final int WSDL_OPERATION
- See Also:
- Constant Field Values
-
WSDL_PORTTYPE
public static final int WSDL_PORTTYPE
- See Also:
- Constant Field Values
-
WSDL_BINDING
public static final int WSDL_BINDING
- See Also:
- Constant Field Values
-
WSDL_BINDING_OPERATION
public static final int WSDL_BINDING_OPERATION
- See Also:
- Constant Field Values
-
WSDL_SERVICE
public static final int WSDL_SERVICE
- See Also:
- Constant Field Values
-
WSDL_INPUT
public static final int WSDL_INPUT
- See Also:
- Constant Field Values
-
WSDL_OUTPUT
public static final int WSDL_OUTPUT
- See Also:
- Constant Field Values
-
WSDL_FAULT
public static final int WSDL_FAULT
- See Also:
- Constant Field Values
-
WSDL_PORT
public static final int WSDL_PORT
- See Also:
- Constant Field Values
-
WSDL_EXTEN
public static final int WSDL_EXTEN
- See Also:
- Constant Field Values
-
WSDLA_BINDING
public static final int WSDLA_BINDING
Enumeration of supported attributes.WSDLA_NAME : the "name" attribute WSDLA_ELEMENT : the "element" attribute in the WSDL_PART node WSDLA_TYPE : the "type" attribute in the WSDL_PART and WSDL_BINDING nodes WSDLA_MESSAGE : the "message" attribute in the WSDL_INPUT and WSDL_OUTPUT nodes WSDLA_BINDING : the "binding" attribute in the WSDL_PORT node
- See Also:
- Constant Field Values
-
WSDLA_ELEMENT
public static final int WSDLA_ELEMENT
- See Also:
- Constant Field Values
-
WSDLA_MESSAGE
public static final int WSDLA_MESSAGE
- See Also:
- Constant Field Values
-
WSDLA_NAME
public static final int WSDLA_NAME
- See Also:
- Constant Field Values
-
WSDLA_NAMESPACE
public static final int WSDLA_NAMESPACE
- See Also:
- Constant Field Values
-
WSDLA_PARAMETERORDER
public static final int WSDLA_PARAMETERORDER
- See Also:
- Constant Field Values
-
WSDLA_TYPE
public static final int WSDLA_TYPE
- See Also:
- Constant Field Values
-
WSDLA_MAX
public static final int WSDLA_MAX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WSDLNode
public WSDLNode(WSDLDocument poDocument, Element oSrc, int eType)
Constructor.- Parameters:
poDocument
- Owning WSDL document for the new node.oSrc
- Source DOM element.eType
- WSDL node type.
-
-
Method Detail
-
getNodeType
public int getNodeType()
The code representing the type of object represented by thisWSDLNode
- Returns:
- A code representing the type of object represented by this
WSDLNode
-
getWSDLOwnerDocument
public WSDLDocument getWSDLOwnerDocument()
Gets theDocument
object associated with this node. This is also theDocument
object used to create new nodes. When this node is aDocument
this isNULL
.
-
getWSDLParentNode
public WSDLNode getWSDLParentNode()
-
getWSDLChildNode
public WSDLNode getWSDLChildNode(int inType, java.lang.String inName)
-
getWSDLChildNode
public WSDLNode getWSDLChildNode(int inType, java.lang.String inName, java.lang.String inTargetNS)
-
getWSDLChildNodesOfType
public java.util.List<WSDLNode> getWSDLChildNodesOfType(int inType)
-
getNamespaceURI
public java.lang.String getNamespaceURI()
The namespace URI of this node- Returns:
- The namespace URI of this node or
String::EmptyString()
if it is unspecified
-
setNamespaceURI
public void setNamespaceURI(java.lang.String sNSURI)
-
getTargetNamespace
public java.lang.String getTargetNamespace()
The target namespace of this node- Returns:
- The target namespace of this node or
String::EmptyString()
if it is unspecified. This is equal to the targetnameSpace on the owner document, unless this node origniated from an import elememt with a different namespace
-
setTargetNamespace
public void setTargetNamespace(java.lang.String sTargetNS)
-
getNSURI
public java.lang.String getNSURI(java.lang.String sPrefix)
-
getNSPrefix
public java.lang.String getNSPrefix(java.lang.String sURI)
-
getWSDLName
public java.lang.String getWSDLName()
The qualified name (W3C::QName) of this node depending on its type (specified bygetNodeType()
).- Returns:
- The QName of this node depending on its type.
WSDL_TYPES : the literal string "#types" WSDL_MESSAGE, : the name of the message WSDL_PART, : the name of the part WSDL_OPERATION, : the name of the operation WSDL_PORTTYPE, : the name of the portType WSDL_BINDING, : the name of the binding WSDL_SERVICE, : the name of the service WSDL_INPUT, : the name of the input WSDL_OUTPUT, : the name of the output WSDL_FAULT, : the name of the fault WSDL_PORT : the name of the port
- See Also:
W3C::QName
-
setWSDLName
public void setWSDLName(java.lang.String sNodeName)
-
getWSDLPrefix
public java.lang.String getWSDLPrefix()
-
setWSDLPrefix
public void setWSDLPrefix(java.lang.String sPrefix)
-
getDomNode
public Element getDomNode()
-
getWSDLAttribute
public java.lang.String getWSDLAttribute(int eNodeAttribute)
Gets aString
containing the named attribute of this node (if it is has the named attribute or Sting::EmptyString() otherwise.
-
-