Index

A C D E I N O P R S T U X 
All Classes and Interfaces|All Packages|Serialized Form

A

add(Object) - Method in class org.xembly.Directives
Add node to all current nodes.
add(Map<K, V>) - Method in class org.xembly.Directives
Add multiple nodes and set their text values.
addIf(Object) - Method in class org.xembly.Directives
Add node if it's absent.
append(Iterable<Directive>) - Method in class org.xembly.Directives
Append all directives.
append(Node) - Method in class org.xembly.Directives
Appends the node.
apply(Node) - Method in class org.xembly.Xembler
Apply all changes to the document/node.
applyQuietly(Node) - Method in class org.xembly.Xembler
Apply all changes to the document/node, without any checked exceptions.
attr(Object, Object) - Method in class org.xembly.Directives
Set attribute.

C

call() - Method in interface org.xembly.Callback
Computes a result.
Callback<V> - Interface in org.xembly
A task that returns a result and may throw an XmlContentException.
cdata(Object) - Method in class org.xembly.Directives
Set CDATA section.
comment(Object) - Method in class org.xembly.Directives
Add an XML comment.
copyOf(Node) - Static method in class org.xembly.Directives
Create a collection of directives, which can create a copy of provided node.
create() - Method in interface org.xembly.Transformers
Create transformer.
create() - Method in class org.xembly.Transformers.Default
 
create() - Method in class org.xembly.Transformers.Document
 
create() - Method in class org.xembly.Transformers.Formatted
 
create() - Method in class org.xembly.Transformers.Node
 

D

Directive - Interface in org.xembly
Directive.
Directive.Cursor - Interface in org.xembly
Cursor.
Directive.Stack - Interface in org.xembly
Stack.
Directives - Class in org.xembly
Collection of Directives, instantiable from String.
Directives() - Constructor for class org.xembly.Directives
Public ctor.
Directives(Iterable<Directive>) - Constructor for class org.xembly.Directives
Public ctor.
Directives(String) - Constructor for class org.xembly.Directives
Public ctor.
Document() - Constructor for class org.xembly.Transformers.Document
Default ctor.
dom() - Method in class org.xembly.Xembler
Apply all changes to an empty DOM.
domQuietly() - Method in class org.xembly.Xembler
Apply all changes to an empty DOM, without checked exceptions.

E

escape(String) - Static method in class org.xembly.Xembler
Utility method to escape text before using it as a text value in XML.
exec(Node, Directive.Cursor, Directive.Stack) - Method in interface org.xembly.Directive
Execute it in the given document with current position at the given node.

I

ImpossibleModificationException - Exception in org.xembly
When further modification is impossible.
iterator() - Method in class org.xembly.Directives
 

N

Node() - Constructor for class org.xembly.Transformers.Node
Default ctor.

O

org.xembly - package org.xembly
Assembly for XML.

P

pi(Object, Object) - Method in class org.xembly.Directives
Add processing instruction.
pop() - Method in interface org.xembly.Directive.Stack
Pop cursor (runtime exception if stack is empty).
pop() - Method in class org.xembly.Directives
Pop cursor to stack and replace current cursor with it.
push() - Method in class org.xembly.Directives
Push current cursor to stack.
push(Directive.Cursor) - Method in interface org.xembly.Directive.Stack
Push cursor (runtime exception if stack is full).

R

remove() - Method in class org.xembly.Directives
Remove all current nodes and move cursor to their parents.

S

set(Object) - Method in class org.xembly.Directives
Set text content.
strict(int) - Method in class org.xembly.Directives
Check that there is exactly this number of current nodes.
SyntaxException - Exception in org.xembly
When syntax is broken.

T

toString() - Method in class org.xembly.Directives
 
Transformers - Interface in org.xembly
Transformer factory.
Transformers.Default - Class in org.xembly
Default transformer factory.
Transformers.Document - Class in org.xembly
Transformer factory that produces document transformers.
Transformers.Formatted - Class in org.xembly
Transformer factory that produces formatted transformers.
Transformers.Node - Class in org.xembly
Transformer factory that omits XML declaration.

U

up() - Method in class org.xembly.Directives
Go one node/level up.

X

xattr(Object, Object) - Method in class org.xembly.Directives
Set attribute.
Xembler - Class in org.xembly
Processor of Xembly directives, main entry point to the package.
Xembler(Iterable<Directive>) - Constructor for class org.xembly.Xembler
Public ctor.
Xembler(Iterable<Directive>, Transformers) - Constructor for class org.xembly.Xembler
Public ctor.
xml() - Method in class org.xembly.Xembler
Convert to XML document.
xmlQuietly() - Method in class org.xembly.Xembler
Convert to XML document, without checked exceptions.
xpath(Object) - Method in class org.xembly.Directives
Go to XPath.
xset(Object) - Method in class org.xembly.Directives
Set text content.
A C D E I N O P R S T U X 
All Classes and Interfaces|All Packages|Serialized Form