Class RemoveAttribute
java.lang.Object
io.jenkins.plugins.xmleditor.core.edit.XmlOperation
io.jenkins.plugins.xmleditor.core.edit.RemoveAttribute
- All Implemented Interfaces:
Serializable
Removes an attribute (and the whitespace before it) from the selected elements, when present.
- 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
-
RemoveAttribute
-
-
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
-