Modifier and Type | Method and Description |
---|---|
<K,V> Directives |
Directives.add(Map<K,V> nodes)
Add multiple nodes and set their text values.
|
Directives |
Directives.add(String name)
Add node to all current nodes.
|
Directives |
Directives.addIf(String name)
Add node if it's absent.
|
Directives |
Directives.append(Iterable<Directive> dirs)
Append all directives.
|
Directives |
Directives.attr(String name,
String value)
Set attribute.
|
Directives |
Directives.cdata(String text)
Set CDATA section.
|
Directives |
Directives.pi(String target,
String data)
Add processing instruction.
|
Directives |
Directives.pop()
Pop pointer to stack and replace current pointer with it.
|
Directives |
Directives.push()
Push current pointer to stack.
|
Directives |
Directives.remove()
Remove all current nodes and move cursor to their parents.
|
Directives |
Directives.set(String 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.xpath(String path)
Go to XPath.
|
Directives |
Directives.xset(String text)
Set text content.
|
Copyright © 2013–2015 Xembly. All rights reserved.