zio.blocks.schema.xml.XmlPatch.Operation
See theOperation companion trait
object Operation
Attributes
- Companion
- trait
- Source
- XmlPatch.scala
- Graph
-
- Supertypes
- Self type
-
Operation.type
Members list
Type members
Classlikes
Add an element at the specified position relative to the target.
Add an element at the specified position relative to the target.
Value parameters
- content
-
The XML content to add
- position
-
Where to insert the content (Before, After, PrependChild, AppendChild)
Attributes
- Source
- XmlPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Operationclass Objecttrait Matchableclass AnyShow all
Remove the element at the target path.
Remove the element at the target path.
Attributes
- Source
- XmlPatch.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Operationclass Objecttrait Matchableclass AnyShow all
- Self type
-
Remove.type
final case class RemoveAttribute(name: String) extends Operation
Remove an attribute from the target element.
Remove an attribute from the target element.
Value parameters
- name
-
The attribute name to remove
Attributes
- Source
- XmlPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Operationclass Objecttrait Matchableclass AnyShow all
Replace the element at the target path with new content.
Replace the element at the target path with new content.
Value parameters
- content
-
The replacement XML content
Attributes
- Source
- XmlPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Operationclass Objecttrait Matchableclass AnyShow all
final case class SetAttribute(name: String, value: String) extends Operation
Set an attribute on the target element.
Set an attribute on the target element.
Value parameters
- name
-
The attribute name
- value
-
The attribute value
Attributes
- Source
- XmlPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Operationclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
In this article