5.1
Table Of Contents
- Using VMware vCenter Orchestrator Plug-Ins
- Contents
- Using VMware vCenter Orchestrator Plug-Ins
- Introduction to Orchestrator Plug-Ins
- Using the vCenter Server 5.1 Plug-In
- Configure the vCenter Server 5.1 Plug-In
- vCenter Server 5.1 Plug-In Scripting API
- Using the vCenter Server 5.1 Plug-In Inventory
- Access the vCenter Server 5.1 Plug-In Workflow Library
- vCenter Server 5.1 Plug-In Workflow Library
- Batch Workflows
- Cluster and Compute Resource Workflows
- Guest Operation Files Workflows
- Guest Operation Processes Workflows
- Custom Attributes Workflows
- Datacenter Workflows
- Datastore and Files Workflows
- Datacenter Folder Management Workflows
- Host Folder Management Workflows
- Virtual Machine Folder Management Workflows
- Basic Host Management Workflows
- Power Host Management Workflows
- Host Registration Management Workflows
- Networking Workflows
- Distributed Virtual Port Group Workflows
- Distributed Virtual Switch Workflows
- Standard Virtual Switch Workflows
- Resource Pool Workflows
- Storage Workflows
- Storage DRS Workflows
- Basic Virtual Machine Management Workflows
- Clone Workflows
- Linked Clone Workflows
- Linux Customization Clone Workflows
- Tools Clone Workflows
- Windows Customization Clone Workflows
- Device Management Workflows
- Move and Migrate Workflows
- Other Workflows
- Power Management Workflows
- Snapshot Workflows
- VMware Tools Workflows
- Using the vCO Library Plug-In
- Using the SQL Plug-In
- Using the SSH Plug-In
- Using the XML Plug-In
- Using the Mail Plug-In
- Using the Net Plug-In
- Using the Enumeration Plug-In
- Using the Workflow Documentation Plug-In
- Index
Method Returns Description
hasAttribute(String):boolean Boolean
Returns true if the attribute exists.
insertBefore(XMLNode,XMLNode):O
bject
Object
Inserts a newChild node before the
existing child node refChild. If
refChild is null, the newChild node is
inserted at the end of list of child nodes.
If the newChild node exists in the tree,
it is first removed.
normalize():Object Object
Normalizes the node.
removeAttribute(String):Object Object
Removes an attribute with a given
name.
removeChild(XMLNode):Object Object
Removes the child node indicated by
oldChild from the list of child nodes
and returns it.
replaceChild(XMLNode,XMLNode):O
bject
Object
Replaces the oldChild node with a
newChild node in the list of child nodes
and returns the oldChild node. If the
newChild node exists in the tree, it is
first removed.
setAttribute(String,String):Obj
ect
Object
Sets a new attribute.
XMLManager Class
The XMLManager class is the main class for creation of XML document parsers.
The XMLManager class defines the following methods.
Method Returns Description
fromString(String):XMLDocument XMLDocument
Gets a document for a given string
content.
getDocumentContent(XMLDocument)
:string
String
Gets a document as a string.
loadDocument(String,boolean):XM
LDocument
XMLDocument
Gets a document for a given path using
the default character encoding.
loadDocumentWithEncoding
(String,String,boolean):XMLDocu
ment
XMLDocument
Gets a document for a given path using
the specified character encoding.
newDocument():XMLDocument XMLDocument
Creates an empty XML document.
saveDocument(XMLDocument,String
,String,String):Object
Object
Saves a document to a given path using
the default character encoding.
saveDocumentWithEncoding
(XMLDocument,String,String,Stri
ng,String):Object
Object
Saves a document to a given path using
the specified character encoding.
validateDocument(XMLDocument,St
ring,String):Object
Object
Validates a document without saving it.
XMLNamedNodeMap Class
The XMLNamedNodeMap class is the main class for node maps, usually used for attributes of an element.
The XMLNamedNodeMap class defines the following attribute.
Chapter 6 Using the XML Plug-In
VMware, Inc. 55