Class SetText
java.lang.Object
io.jenkins.plugins.xmleditor.core.edit.XmlOperation
io.jenkins.plugins.xmleditor.core.edit.SetText
- All Implemented Interfaces:
Serializable
Sets the text of elements, the value of attributes, or replaces single text nodes. Only the selected text changes:
comments, surrounding whitespace and quotes are kept.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanapplyTo(LItem target, EditContext context) Applies the operation to one selected node.type()Name used in reports and messages, e.g.Methods inherited from class io.jenkins.plugins.xmleditor.core.edit.XmlOperation
applyWhenNoMatch, defaultExpected, expected, unsupported, xpath
-
Constructor Details
-
SetText
-
-
Method Details
-
type
Description copied from class:XmlOperationName used in reports and messages, e.g.setText.- Specified by:
typein classXmlOperation
-
applyTo
Description copied from class:XmlOperationApplies the operation to one selected node.- Specified by:
applyToin classXmlOperation- Returns:
truewhen the document actually changed- Throws:
XmlEditorException
-