Uses of Class
org.xembly.Directives
-
-
Uses of Directives in org.xembly
Methods in org.xembly that return Directives Modifier and Type Method Description Directives
Directives. add(Object name)
Add node to all current nodes.<K,V>
DirectivesDirectives. add(Map<K,V> nodes)
Add multiple nodes and set their text values.Directives
Directives. addIf(Object name)
Add node if it's absent.Directives
Directives. append(Iterable<Directive> dirs)
Append all directives.Directives
Directives. append(Node node)
Appends thenode
.Directives
Directives. attr(Object name, Object value)
Set attribute.Directives
Directives. cdata(Object text)
Set CDATA section.Directives
Directives. comment(Object text)
Add an XML comment.Directives
Directives. pi(Object target, Object data)
Add processing instruction.Directives
Directives. pop()
Pop cursor to stack and replace current cursor with it.Directives
Directives. push()
Push current cursor to stack.Directives
Directives. remove()
Remove all current nodes and move cursor to their parents.Directives
Directives. set(Object text)
Set text content.Directives
Directives. strict(int number)
Check that there is exactly this number of current nodes.Directives
Directives. up()
Go one node/level up.Directives
Directives. xattr(Object attr, Object text)
Set attribute.Directives
Directives. xpath(Object path)
Go to XPath.Directives
Directives. xset(Object text)
Set text content.
-