Uses of Class
org.xembly.Directives
-
Uses of Directives in org.xembly
Modifier and TypeMethodDescriptionAdd node to all current nodes.<K,
V> Directives Add multiple nodes and set their text values.Add node if it's absent.Append all directives.Appends thenode
.Set attribute.Set CDATA section.Add an XML comment.Add processing instruction.Directives.pop()
Pop cursor to stack and replace current cursor with it.Directives.push()
Push current cursor to stack.Directives.remove()
Remove all current nodes and move cursor to their parents.Set text content.Directives.strict
(int number) Check that there is exactly this number of current nodes.Directives.up()
Go one node/level up.Set attribute.Go to XPath.Set text content.