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