A C D E F G H I J M N O P R S T U V W X

A

AbstractOperation - class org.vmguys.vmtools.utils.AbstractOperation.
This is the parent class of the various operations that can be put into a CostOps object.
AbstractOperation() - Constructor for class org.vmguys.vmtools.utils.AbstractOperation
 
add(AbstractOperation) - Method in class org.vmguys.vmtools.utils.CostOps
Adds another operation to the list.
add(CostOps) - Method in class org.vmguys.vmtools.utils.CostOps
Adds another CostOps to this one.
add(int) - Method in class org.vmguys.vmtools.utils.CostOps
Adds more cost to the operation.
applyDiffs(Element, Element) - Method in class org.vmguys.vmtools.utils.VMJdomDiff
Applies the difference tree to the original tree to recreate the modified tree.
applyDiffs(Element, Element) - Method in class org.vmguys.vmtools.ota.OtaUpdate
Applies the update request to the original tree to recreate the modified tree.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.AbstractOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.ContentModifyOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.AttributeInsertOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.AttributeDeleteOperation
Converts the operation to a JDOM Element that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.ElementRenameOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.ContentDeleteOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.SubtreeDeleteOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.AttributeModifyOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.ContentAddOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.SubtreeInsertOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asElement(Namespace) - Method in class org.vmguys.vmtools.utils.ElementDeleteOperation
Converts the operation to a JDOM Element, possibly with children, that represents the operation.
asJdomElement() - Method in class org.vmguys.vmtools.ota.UniqueId
Creates a UniqueId Element containing the attributes specified in this object.
AttributeDeleteOperation - class org.vmguys.vmtools.utils.AttributeDeleteOperation.
This class represents an operation to delete an attribute of an Element.
AttributeDeleteOperation(DiffElement, Attribute) - Constructor for class org.vmguys.vmtools.utils.AttributeDeleteOperation
Constructs an operation that will delete an attribute of the given node.
AttributeDeleteOperation(DiffElement, Attribute, String) - Constructor for class org.vmguys.vmtools.utils.AttributeDeleteOperation
Constructs an operation that will delete an attribute of the given node.
AttributeInsertOperation - class org.vmguys.vmtools.utils.AttributeInsertOperation.
This class represents an operation to insert a new attribute of an Element.
AttributeInsertOperation(DiffElement, Attribute) - Constructor for class org.vmguys.vmtools.utils.AttributeInsertOperation
Constructs an operation that will insert an attribute of the given node.
AttributeInsertOperation(DiffElement, Attribute, String) - Constructor for class org.vmguys.vmtools.utils.AttributeInsertOperation
Constructs an operation that will insert an attribute of the given node.
AttributeModifyOperation - class org.vmguys.vmtools.utils.AttributeModifyOperation.
This class represents a change to an attribute of an Element.
AttributeModifyOperation(DiffElement, Attribute) - Constructor for class org.vmguys.vmtools.utils.AttributeModifyOperation
Constructs an operation that will modify an attribute of the given node.
AttributeModifyOperation(DiffElement, Attribute, String) - Constructor for class org.vmguys.vmtools.utils.AttributeModifyOperation
Constructs an operation that will modify an attribute of the given node.
AttributeNameComparator - class org.vmguys.vmtools.utils.AttributeNameComparator.
This class implements Comparator, and is used when sorting the attributes of two Elements.
AttributeNameComparator() - Constructor for class org.vmguys.vmtools.utils.AttributeNameComparator
Creates a new instance of AttributeNameComparator.

C

combine(CostOps) - Method in class org.vmguys.vmtools.utils.CostOps
Generates a new CostOps object which is the combination of this one and the one specified as a parameter.
comment - Variable in class org.vmguys.vmtools.utils.AbstractOperation
This is a comment associated with the operation.
compare(Object, Object) - Method in class org.vmguys.vmtools.utils.AttributeNameComparator
Compares two Attributes.
compare(Object, Object) - Method in class org.vmguys.vmtools.utils.OperationNodeNumberComparator
 
ContentAddOperation - class org.vmguys.vmtools.utils.ContentAddOperation.
This class represents an addition to the content of an Element.
ContentAddOperation(DiffElement, Object) - Constructor for class org.vmguys.vmtools.utils.ContentAddOperation
Constructs an operation that will add content to the given node.
ContentAddOperation(DiffElement, Object, String) - Constructor for class org.vmguys.vmtools.utils.ContentAddOperation
Constructs an operation that will add content to the given node.
ContentDeleteOperation - class org.vmguys.vmtools.utils.ContentDeleteOperation.
This class represents a deletion of some of the content of an Element.
ContentDeleteOperation(DiffElement, Object) - Constructor for class org.vmguys.vmtools.utils.ContentDeleteOperation
Constructs an operation that will delete content from the given node.
ContentDeleteOperation(DiffElement, Object, String) - Constructor for class org.vmguys.vmtools.utils.ContentDeleteOperation
Constructs an operation that will delete content from the given node.
ContentModifyOperation - class org.vmguys.vmtools.utils.ContentModifyOperation.
This class represents a modification of some of the content of an Element.
ContentModifyOperation(DiffElement, Object, Object) - Constructor for class org.vmguys.vmtools.utils.ContentModifyOperation
Constructs an operation that will delete content from the given node.
ContentModifyOperation(DiffElement, Object, Object, String) - Constructor for class org.vmguys.vmtools.utils.ContentModifyOperation
Constructs an operation that will delete content from the given node.
cost() - Method in class org.vmguys.vmtools.utils.AbstractOperation
Returns a cost associated with this operation.
cost() - Method in class org.vmguys.vmtools.utils.ContentModifyOperation
Returns a cost associated with this operation.
cost() - Method in class org.vmguys.vmtools.utils.AttributeInsertOperation
Returns the cost of this operation.
cost() - Method in class org.vmguys.vmtools.utils.AttributeDeleteOperation
Returns the cost of this operation.
cost() - Method in class org.vmguys.vmtools.utils.ElementRenameOperation
Returns the cost of this operation.
cost() - Method in class org.vmguys.vmtools.utils.ContentDeleteOperation
Returns a cost associated with this operation.
cost() - Method in class org.vmguys.vmtools.utils.SubtreeDeleteOperation
Returns the cost of this operation.
cost() - Method in class org.vmguys.vmtools.utils.AttributeModifyOperation
Returns the cost of this operation.
cost() - Method in class org.vmguys.vmtools.utils.ContentAddOperation
Returns a cost associated with this operation.
cost() - Method in class org.vmguys.vmtools.utils.SubtreeInsertOperation
Returns the cost of this operation.
cost() - Method in class org.vmguys.vmtools.utils.ElementDeleteOperation
Returns the cost of this operation.
CostOps - class org.vmguys.vmtools.utils.CostOps.
Contains a series of operations and a cost.
CostOps() - Constructor for class org.vmguys.vmtools.utils.CostOps
Constructs a CostOps with zero cost and no operations.
CostOps(AbstractOperation) - Constructor for class org.vmguys.vmtools.utils.CostOps
Constructs a CostOps with the specified operation.
CostOps(int) - Constructor for class org.vmguys.vmtools.utils.CostOps
Constructs a CostOps with the specified cost and no operations.
CostOps(List) - Constructor for class org.vmguys.vmtools.utils.CostOps
Constructs a CotsOps with a list of operations.

D

DiffElement - class org.vmguys.vmtools.utils.DiffElement.
This class adds properties to Element that are needed by the algorithm used.
DiffElement(String) - Constructor for class org.vmguys.vmtools.utils.DiffElement
 
DiffElement(String, Namespace) - Constructor for class org.vmguys.vmtools.utils.DiffElement
 
DiffElement(String, String) - Constructor for class org.vmguys.vmtools.utils.DiffElement
 
DiffElement(String, String, String) - Constructor for class org.vmguys.vmtools.utils.DiffElement
 
DifferenceFinder2 - class org.vmguys.vmtools.utils.DifferenceFinder2.
This class contains methods to compare two JDOM trees and find the differences.
DifferenceFinder2() - Constructor for class org.vmguys.vmtools.utils.DifferenceFinder2
Constructs a DifferenceFinder2 using the namespace of NO_NAMESPACE.
DifferenceFinder2(Namespace) - Constructor for class org.vmguys.vmtools.utils.DifferenceFinder2
Constructs a DifferenceFinder2 with the specified namespace.
DifferenceFinder2(Namespace, boolean) - Constructor for class org.vmguys.vmtools.utils.DifferenceFinder2
Constructs a Differencefinder with the specified namespace and setting for discardWhitespace.
DifferenceFinder2(Namespace, boolean, boolean) - Constructor for class org.vmguys.vmtools.utils.DifferenceFinder2
Constructs a DifferenceFinder2 with the specified namespace, setting for discardWhitespace, and setting for addComments.
DomFactory - class org.vmguys.vmtools.utils.DomFactory.
This extension of the default JDOM factory class instantiates DiffElements instead of Elements.
DomFactory() - Constructor for class org.vmguys.vmtools.utils.DomFactory
 

E

element(String) - Method in class org.vmguys.vmtools.utils.DomFactory
 
element(String, Namespace) - Method in class org.vmguys.vmtools.utils.DomFactory
 
element(String, String) - Method in class org.vmguys.vmtools.utils.DomFactory
 
element(String, String, String) - Method in class org.vmguys.vmtools.utils.DomFactory
 
ElementDeleteOperation - class org.vmguys.vmtools.utils.ElementDeleteOperation.
This class represents a deletion of a single node from the tree.
ElementDeleteOperation(DiffElement) - Constructor for class org.vmguys.vmtools.utils.ElementDeleteOperation
Constructs an operation that will delete an Element from the tree.
ElementDeleteOperation(DiffElement, String) - Constructor for class org.vmguys.vmtools.utils.ElementDeleteOperation
Constructs an operation that will delete an Element from the tree.
ElementRenameOperation - class org.vmguys.vmtools.utils.ElementRenameOperation.
This class represents a change to the name of a node in the tree.
ElementRenameOperation(DiffElement, String) - Constructor for class org.vmguys.vmtools.utils.ElementRenameOperation
Constructs an object that will rename a node.
ElementRenameOperation(DiffElement, String, String) - Constructor for class org.vmguys.vmtools.utils.ElementRenameOperation
Constructs an object that will rename a node.

F

findDifferences(DiffElement, DiffElement) - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Determines what needs to be done to convert the tree rooted at n1 into the tree rooted at n2.
findDifferences(Element, Element) - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Same as the other version of findDifferences except for the types of the parameters.
findDifferences(Element, Element, Element) - Method in class org.vmguys.vmtools.utils.JdomDifferenceFinder
This method finds the minimal differences between two JDOM trees and returns the operations needed to convert one to the other as a JDOM tree.

G

generateDiffs(Element, Element) - Method in class org.vmguys.vmtools.utils.VMJdomDiff
Returns the differences between the original tree and the modified tree as a VMXMLDiff tree.
generateDiffs(Element, Element, UniqueId) - Method in class org.vmguys.vmtools.ota.OtaUpdate
Returns the differences between the original tree and the modified tree as an OTA update request using the current setting of replace.
generateDiffs(Element, Element, UniqueId, boolean) - Method in class org.vmguys.vmtools.ota.OtaUpdate
Returns the differences between the original tree and the modified tree as an OTA update request using the specified value of replace.
generatedVersion - Static variable in class org.vmguys.vmtools.ota.OtaUpdate
 
getAttributesAsArray() - Method in class org.vmguys.vmtools.utils.DiffElement
Gets an array of the node's attributes.
getChildNumber() - Method in class org.vmguys.vmtools.utils.DiffElement
Returns the number of this child.
getChildren() - Method in class org.vmguys.vmtools.utils.DiffElement
Overrides Element.getChildren().
getChildXPath(Element, Object) - Static method in class org.vmguys.vmtools.utils.XPath
This method generates an XPath that leads from the parent element to the target element.
getContentAsArray() - Method in class org.vmguys.vmtools.utils.DiffElement
Gets an array of the node's content that excludes the children.
getContentsize() - Method in class org.vmguys.vmtools.utils.DiffElement
Returns the content size of the subtree rooted at this node.
getCost() - Method in class org.vmguys.vmtools.utils.CostOps
Getter for property cost.
getDiffParent() - Method in class org.vmguys.vmtools.utils.DiffElement
Similar to Element.getParent().
getElement(Element, String) - Static method in class org.vmguys.vmtools.utils.XPath
This method follows the xpath from the root element and returns the element specified by the path.
getId() - Method in class org.vmguys.vmtools.ota.UniqueId
Gets the id attribute.
getIndex(String) - Static method in class org.vmguys.vmtools.utils.XPath
Given a part of a path like "foobar[5]" or "self::node()[5]" return the index value.
getInstance() - Method in class org.vmguys.vmtools.ota.UniqueId
Gets the instance attribute.
getLeftmostLeafNum() - Method in class org.vmguys.vmtools.utils.DiffElement
Returns the number of the leftmost leaf.
getNodeName(String) - Static method in class org.vmguys.vmtools.utils.XPath
Given a part of a path like "foobar[5]" return the part before the left bracket.
getNodeNumber() - Method in class org.vmguys.vmtools.utils.AbstractOperation
Returns the node number this operation is being applied to.
getNodeNumber() - Method in class org.vmguys.vmtools.utils.DiffElement
Returns the number of this node within the tree.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.AbstractOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.ContentModifyOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.AttributeInsertOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.AttributeDeleteOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.ElementRenameOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.ContentDeleteOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.SubtreeDeleteOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.AttributeModifyOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.ContentAddOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.SubtreeInsertOperation
Returns the number of the node this operation is being applied to.
getOperationNodeNumber() - Method in class org.vmguys.vmtools.utils.ElementDeleteOperation
Returns the number of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.AbstractOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.ContentModifyOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.AttributeInsertOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.AttributeDeleteOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.ElementRenameOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.ContentDeleteOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.SubtreeDeleteOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.AttributeModifyOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.ContentAddOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.SubtreeInsertOperation
Returns the xpath of the node this operation is being applied to.
getOperationXpath() - Method in class org.vmguys.vmtools.utils.ElementDeleteOperation
Returns the xpath of the node this operation is being applied to.
getOps() - Method in class org.vmguys.vmtools.utils.CostOps
Getter for property ops.
getParentElement(Element, String) - Static method in class org.vmguys.vmtools.utils.XPath
Given an xpath to a node in a tree, returns the parent of that node.
getParentXpath(String) - Static method in class org.vmguys.vmtools.utils.XPath
Given an xpath to a node in a tree, returns an xpath to that node's parent.
getProgressReporter() - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Returns the current ProgressReporter, or null if there isn't one.
getReplace() - Method in class org.vmguys.vmtools.ota.OtaUpdate
Gets the current value of replace.
getRoot() - Method in class org.vmguys.vmtools.utils.DiffElement
Returns the root element of the tree containing this node.
getTreesize() - Method in class org.vmguys.vmtools.utils.DiffElement
Returns the size of (the number of nodes in) the subtree rooted at this node.
getType() - Method in class org.vmguys.vmtools.ota.UniqueId
Gets the type attribute.
getUrl() - Method in class org.vmguys.vmtools.ota.UniqueId
Gets the url attribute.
getXpath() - Method in class org.vmguys.vmtools.utils.AbstractOperation
Returns the xpath of the node saved in this operation.
getXpath() - Method in class org.vmguys.vmtools.utils.DiffElement
Returns a String containing the XPath of this node.
getXPath(Element, Element, Object) - Static method in class org.vmguys.vmtools.utils.XPath
This method generates an XPath that leads from the root element of the document to the target element.
getXPath(Element, Object) - Static method in class org.vmguys.vmtools.utils.XPath
This method generates an XPath that leads from the root element of the document to the target element.

H

hasLeftSibling() - Method in class org.vmguys.vmtools.utils.DiffElement
Indicates whether this node has a sibling to its left.

I

isAddComments() - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Getter for property addComments.
isAllowRename() - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Getter for property allowRename.
isDiscardWhitespace() - Method in class org.vmguys.vmtools.utils.JdomPatcher
Getter for property discardWhitespace.
isDiscardWhitespace() - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Getter for property discardWhitespace.

J

JdomDifferenceFinder - class org.vmguys.vmtools.utils.JdomDifferenceFinder.
This class finds the differences between two JDOM trees, and returns a JDOM tree containing the operations needed to convert one tree to the other.
JdomDifferenceFinder() - Constructor for class org.vmguys.vmtools.utils.JdomDifferenceFinder
Constructs a JdomDifferenceFinder using the namespace of NO_NAMESPACE.
JdomDifferenceFinder(Namespace) - Constructor for class org.vmguys.vmtools.utils.JdomDifferenceFinder
Constructs a JdomDifferenceFinder with the specified namespace.
JdomDifferenceFinder(Namespace, boolean) - Constructor for class org.vmguys.vmtools.utils.JdomDifferenceFinder
Constructs a JdomDifferencefinder with the specified namespace and setting for discardWhitespace.
JdomDifferenceFinder(Namespace, boolean, boolean) - Constructor for class org.vmguys.vmtools.utils.JdomDifferenceFinder
Constructs a JdomDifferenceFinder with the specified namespace, setting for discardWhitespace, and setting for addComments.
JdomPatcher - class org.vmguys.vmtools.utils.JdomPatcher.
This class takes a set of patch instructions that are in a JDOM tree or a List and applies them to a JDOM tree.
JdomPatcher() - Constructor for class org.vmguys.vmtools.utils.JdomPatcher
Constructs a JdomPatcher using the namespace of NO_NAMESPACE.
JdomPatcher(Namespace) - Constructor for class org.vmguys.vmtools.utils.JdomPatcher
Constructs a JdomPatcher with the specified namespace.
JdomPatcher(Namespace, boolean) - Constructor for class org.vmguys.vmtools.utils.JdomPatcher
Constructs a JdomPatcher with the specified namespace and setting for discardWhitespace.
JdomPatcher(Namespace, boolean, boolean) - Constructor for class org.vmguys.vmtools.utils.JdomPatcher
Constructs a JdomPatcher with the specified namespace, setting for discardWhitespace, and setting for addComments.

M

main(String[]) - Static method in class org.vmguys.vmtools.utils.XmlBeautify
 

N

node - Variable in class org.vmguys.vmtools.utils.AbstractOperation
This is a reference to the Element being operated upon.

O

OperationNodeNumberComparator - class org.vmguys.vmtools.utils.OperationNodeNumberComparator.
 
OperationNodeNumberComparator() - Constructor for class org.vmguys.vmtools.utils.OperationNodeNumberComparator
Creates a new instance of OperationNodeNumberComparator
org.vmguys.vmtools.ota - package org.vmguys.vmtools.ota
This package contains classes that manipulate OTA XML documents and represent some of the elements used in OTA XML documents.
org.vmguys.vmtools.utils - package org.vmguys.vmtools.utils
This package contains classes that manipulate XML data.
OtaUpdate - class org.vmguys.vmtools.ota.OtaUpdate.
This class generates and applies OTA update requests.
OtaUpdate() - Constructor for class org.vmguys.vmtools.ota.OtaUpdate
Constructs an object with replace set to false so it will attempt to find the minimal differences between the trees and record them in the update request.
OtaUpdate(boolean) - Constructor for class org.vmguys.vmtools.ota.OtaUpdate
Constructs an object with replace set to the specified value.

P

patch(Element, Element) - Method in class org.vmguys.vmtools.utils.JdomPatcher
Applies patches to a JDOM tree and returns the modified tree.
patch(Element, List) - Method in class org.vmguys.vmtools.utils.JdomPatcher
Applies patches to a JDOM tree and returns the modified tree.
ProgressReporter - interface org.vmguys.vmtools.utils.ProgressReporter.
A class that implements this interface can be used to report the progress of a running computation.

R

replace - Variable in class org.vmguys.vmtools.ota.OtaUpdate
The replace flag indicates the type of difference Element created by generateDiffs.

S

schemaLocation - Static variable in class org.vmguys.vmtools.utils.VMJdomDiff
The default schemaLocation value for VMXML documents.
schemaLocation - Static variable in class org.vmguys.vmtools.ota.OtaUpdate
The default schemaLocation value for OTA_UpdateRQ documents.
setAddComments(boolean) - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Setter for property addComments.
setAllowRename(boolean) - Method in class org.vmguys.vmtools.utils.JdomDifferenceFinder
This method sets property that indicates whether the difference finder should include operations that rename a node.
setAllowRename(boolean) - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Setter for property allowRename.
setCost(int) - Method in class org.vmguys.vmtools.utils.CostOps
Setter for property cost.
setDiscardWhitespace(boolean) - Method in class org.vmguys.vmtools.utils.JdomPatcher
Setter for property discardWhitespace.
setDiscardWhitespace(boolean) - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
Setter for property discardWhitespace.
setId(String) - Method in class org.vmguys.vmtools.ota.UniqueId
Sets the id attribute.
setInstance(String) - Method in class org.vmguys.vmtools.ota.UniqueId
Sets the instance attribute.
setProgressReporter(ProgressReporter) - Method in class org.vmguys.vmtools.utils.JdomDifferenceFinder
This method sets the progress reporter.
setProgressReporter(ProgressReporter) - Method in class org.vmguys.vmtools.utils.DifferenceFinder2
This method sets the progress reporter.
setProgressReporter(ProgressReporter) - Method in class org.vmguys.vmtools.ota.OtaUpdate
This method sets the progress reporter.
setReplace(boolean) - Method in class org.vmguys.vmtools.ota.OtaUpdate
Sets replace to the specified value.
setType(String) - Method in class org.vmguys.vmtools.ota.UniqueId
Sets the type attribute.
setUrl(String) - Method in class org.vmguys.vmtools.ota.UniqueId
Sets the url attribute.
showProgress(int, int) - Method in interface org.vmguys.vmtools.utils.ProgressReporter
Shows the progress of the computation.
sortOperations() - Method in class org.vmguys.vmtools.utils.CostOps
Sorts the operation list according to the number of the node the operation is being performed on.
SubtreeDeleteOperation - class org.vmguys.vmtools.utils.SubtreeDeleteOperation.
This class contains the information needed to delete a subtree.
SubtreeDeleteOperation(DiffElement) - Constructor for class org.vmguys.vmtools.utils.SubtreeDeleteOperation
Constructs an operation that will delete a subtree from the tree.
SubtreeDeleteOperation(DiffElement, String) - Constructor for class org.vmguys.vmtools.utils.SubtreeDeleteOperation
Constructs an operation that will delete a subtree from the tree.
SubtreeInsertOperation - class org.vmguys.vmtools.utils.SubtreeInsertOperation.
This class contains the information needed to insert a subtree.
SubtreeInsertOperation(DiffElement) - Constructor for class org.vmguys.vmtools.utils.SubtreeInsertOperation
Constructs an operation that will insert a subtree into the tree.
SubtreeInsertOperation(DiffElement, String) - Constructor for class org.vmguys.vmtools.utils.SubtreeInsertOperation
Constructs an operation that will insert a subtree into the tree.

T

tagname - Static variable in class org.vmguys.vmtools.utils.VMJdomDiff
The element tag name for a difference document.
tagname - Static variable in class org.vmguys.vmtools.ota.OtaUpdate
The element tag name for an OTA_UpdateRQ document.
toString() - Method in class org.vmguys.vmtools.utils.AbstractOperation
 
toString() - Method in class org.vmguys.vmtools.utils.ContentModifyOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.AttributeInsertOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.AttributeDeleteOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.DiffElement
Returns a String containing information about this node.
toString() - Method in class org.vmguys.vmtools.utils.ElementRenameOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.ContentDeleteOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.CostOps
Converts this CostOps to a String for display.
toString() - Method in class org.vmguys.vmtools.utils.SubtreeDeleteOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.AttributeModifyOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.ContentAddOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.SubtreeInsertOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.utils.ElementDeleteOperation
Returns a String with information about the operation.
toString() - Method in class org.vmguys.vmtools.ota.UniqueId
Returns a String representation of this unique id.

U

UniqueId - class org.vmguys.vmtools.ota.UniqueId.
This class represents the UniqueId element used in some OTA messages.
UniqueId() - Constructor for class org.vmguys.vmtools.ota.UniqueId
No-args constructor.
UniqueId(String, String) - Constructor for class org.vmguys.vmtools.ota.UniqueId
Constructor that sets the mandatory attributes.
UniqueId(String, String, String, String) - Constructor for class org.vmguys.vmtools.ota.UniqueId
Constructor that sets all attributes.

V

VMJdomDiff - class org.vmguys.vmtools.utils.VMJdomDiff.
This class generates and applies difference documents.
VMJdomDiff() - Constructor for class org.vmguys.vmtools.utils.VMJdomDiff
No-args constructor.

W

wrapComment(Comment) - Method in class org.vmguys.vmtools.utils.AbstractOperation
Returns an Element containing all the pertinent information about a Comment.
wrapMetaData(Element) - Method in class org.vmguys.vmtools.utils.AbstractOperation
Looks for any Comments or ProcessingInstruction elements in the tree and replaces them with an Element containing the same information.
wrapPI(ProcessingInstruction) - Method in class org.vmguys.vmtools.utils.AbstractOperation
Returns an Element containing all the pertinent information about a ProcessingInstruction.

X

XmlBeautify - class org.vmguys.vmtools.utils.XmlBeautify.
This application parses an XML file and then writes it out.
XmlBeautify() - Constructor for class org.vmguys.vmtools.utils.XmlBeautify
Creates new XmlBeautify
xmlns - Static variable in class org.vmguys.vmtools.utils.VMJdomDiff
The default namespace for VMXML documents.
xmlns - Static variable in class org.vmguys.vmtools.ota.OtaUpdate
The default namespace for OTA documents.
XPath - class org.vmguys.vmtools.utils.XPath.
This class implements a subset of XPath, which allows an element in an XML document to be specified by giving a path to it.

A C D E F G H I J M N O P R S T U V W X

Copyright © 2001 VM Systems, Inc. All Rights Reserved.