Package com.altova.automation.XMLSpy
Class XMLData
java.lang.Object
com.altova.automation.libs.COMIUnknownObject
com.altova.automation.libs.COMIDispatchObject
com.altova.automation.XMLSpy.XMLData
public class XMLData extends COMIDispatchObject
-
Field Summary
Fields inherited from class com.altova.automation.libs.COMIDispatchObject
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF -
Method Summary
Modifier and Type Method Description voidappendChild(XMLData pNewData)method AppendChildintcountChildren()The method gets the count of all children.intcountChildrenKind(Enums.SPYXMLDataKind nKind)The method gets the count of children of a specific kind.voideraseAllChildren()method EraseAllChildrenvoideraseChild(XMLData i_ipChild)method EraseChildvoideraseCurrentChild()method EraseCurrentChildXMLDatagetChild(int nIndex)GetChild() returns a reference to the child at the given index (zero-based).XMLDatagetChildAttribute(java.lang.String i_pbstrName)method GetChildAttributeXMLDatagetChildElement(java.lang.String i_pbstrName, int i_nIndex)method GetChildElementXMLDatagetChildKind(int nIndex, Enums.SPYXMLDataKind nKind)GetChildKind() returns a reference to a child of this kind at the given index (zero-based).XMLDatagetCurrentChild()method GetCurrentChildXMLDatagetFirstChild(Enums.SPYXMLDataKind nKind)GetFirstChild initializes a new iterator.booleangetHasChildren()property HasChildrenGUIDgetInterfaceIID()Enums.SPYXMLDataKindgetKind()property KindbooleangetMayHaveChildren()property MayHaveChildrenjava.lang.StringgetName()property Namejava.lang.StringgetNamespacePrefixForURI(java.lang.String i_pbstrURI)method GetNamespacePrefixForURIXMLDatagetNextChild()method GetNextChildXMLDatagetParent()property Parentjava.lang.StringgetTextValue()property TextValuejava.lang.StringgetTextValueXMLDecoded()The method returns TextValue XML decodedbooleanhasChildrenKind(Enums.SPYXMLDataKind nKind)The method returns if there are children of a specific kind.voidinsertChild(XMLData pNewData)InsertChild inserts the new child before the current child (see also GetFirstChild, GetNextChild)voidinsertChildAfter(XMLData i_ipNode, XMLData i_ipNewData)method InsertChildAftervoidinsertChildBefore(XMLData i_ipNode, XMLData i_ipNewData)method InsertChildBeforebooleanisSameNode(XMLData pNodeToCompare)method IsSameNodevoidsetName(java.lang.String newValue)property NamevoidsetTextValue(java.lang.String newValue)property TextValuevoidsetTextValueXMLEncoded(java.lang.String i_pbstrVal)The method sets TextValue XML encodedMethods inherited from class com.altova.automation.libs.COMIDispatchObject
addListener, getProperty, getProperty, invoke, removeListener, setProperty, setPropertyMethods inherited from class com.altova.automation.libs.COMIUnknownObject
dispose, equals, getCOMInterfacePointer, isNull
-
Method Details
-
getInterfaceIID
-
getKind
property Kind- Throws:
AutomationException
-
getName
property Name- Throws:
AutomationException
-
setName
property Name- Throws:
AutomationException
-
getTextValue
property TextValue- Throws:
AutomationException
-
setTextValue
property TextValue- Throws:
AutomationException
-
getFirstChild
GetFirstChild initializes a new iterator. Set nKind = -1 to get an iterator for all kinds of children.- Throws:
AutomationException
-
getCurrentChild
method GetCurrentChild- Throws:
AutomationException
-
getNextChild
method GetNextChild- Throws:
AutomationException
-
getHasChildren
property HasChildren- Throws:
AutomationException
-
appendChild
method AppendChild- Throws:
AutomationException
-
getMayHaveChildren
property MayHaveChildren- Throws:
AutomationException
-
insertChild
InsertChild inserts the new child before the current child (see also GetFirstChild, GetNextChild)- Throws:
AutomationException
-
eraseCurrentChild
method EraseCurrentChild- Throws:
AutomationException
-
eraseAllChildren
method EraseAllChildren- Throws:
AutomationException
-
getParent
property Parent- Throws:
AutomationException
-
isSameNode
method IsSameNode- Throws:
AutomationException
-
countChildrenKind
The method gets the count of children of a specific kind.- Throws:
AutomationException
-
countChildren
The method gets the count of all children.- Throws:
AutomationException
-
hasChildrenKind
The method returns if there are children of a specific kind.- Throws:
AutomationException
-
getChild
GetChild() returns a reference to the child at the given index (zero-based).- Throws:
AutomationException
-
getChildKind
GetChildKind() returns a reference to a child of this kind at the given index (zero-based).- Throws:
AutomationException
-
getTextValueXMLDecoded
The method returns TextValue XML decoded- Throws:
AutomationException
-
setTextValueXMLEncoded
The method sets TextValue XML encoded- Throws:
AutomationException
-
getChildElement
public XMLData getChildElement(java.lang.String i_pbstrName, int i_nIndex) throws AutomationExceptionmethod GetChildElement- Throws:
AutomationException
-
getChildAttribute
method GetChildAttribute- Throws:
AutomationException
-
getNamespacePrefixForURI
public java.lang.String getNamespacePrefixForURI(java.lang.String i_pbstrURI) throws AutomationExceptionmethod GetNamespacePrefixForURI- Throws:
AutomationException
-
insertChildBefore
method InsertChildBefore- Throws:
AutomationException
-
insertChildAfter
method InsertChildAfter- Throws:
AutomationException
-
eraseChild
method EraseChild- Throws:
AutomationException
-