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(Object name)
Add node to all current nodes.
|
Directives |
Directives.addIf(Object name)
Add node if it's absent.
|
Directives |
Directives.append(Iterable<Directive> dirs)
Append all directives.
|
Directives |
Directives.attr(Object name,
Object value)
Set attribute.
|
Directives |
Directives.cdata(Object text)
Set CDATA section.
|
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.xpath(Object path)
Go to XPath.
|
Directives |
Directives.xset(Object text)
Set text content.
|
Copyright © 2013–2018 Xembly. All rights reserved.