Skip navigation links
$ A B C D E F G H I J L M N O P R S T U W X 

$

$() - Static method in class org.joox.JOOX
Wrap a new empty document
$(Object) - Static method in class org.joox.JOOX
Wrap a JAXB-marshallable element in a jOOX Match element set
$(String) - Static method in class org.joox.JOOX
Create a new DOM element in an independent document
$(String, String) - Static method in class org.joox.JOOX
Create a new DOM element in an independent document
$(String, Element...) - Static method in class org.joox.JOOX
Create a new DOM element in an independent document The added content is cloned into the new document
$(String, Match...) - Static method in class org.joox.JOOX
Create a new DOM element in an independent document The added content is cloned into the new document
$(Document) - Static method in class org.joox.JOOX
Wrap a DOM document in a jOOX Match element set
$(Element) - Static method in class org.joox.JOOX
Wrap a DOM element in a jOOX Match element set
$(Node) - Static method in class org.joox.JOOX
Wrap a DOM Node in a jOOX Match element set Supported node types are Document : see JOOX.$(Document) Element : see JOOX.$(Element) If the supplied Node is of any other type, then an empty Match is created
$(NodeList) - Static method in class org.joox.JOOX
Wrap a DOM NodeList in a jOOX Match element set If the supplied NodeList is empty or null, then an empty Match is created
$(Context) - Static method in class org.joox.JOOX
Convenience method for calling $(context.element())
$(Match) - Static method in class org.joox.JOOX
Convenience method for calling $(match)
$(URL) - Static method in class org.joox.JOOX
Convenience method for calling $(url.openStream())
$(URI) - Static method in class org.joox.JOOX
Convenience method for calling $(new File(uri))
$(File) - Static method in class org.joox.JOOX
Read a DOM document from a file into a Match element set
$(InputStream) - Static method in class org.joox.JOOX
Read a DOM document from a stream into a Match element set
$(Reader) - Static method in class org.joox.JOOX
Read a DOM document from a reader into a Match element set
$(InputSource) - Static method in class org.joox.JOOX
Read a DOM document from a file into a Match element set

A

add(Element...) - Method in interface org.joox.Match
Add some elements to the set of matched elements
add(Match...) - Method in interface org.joox.Match
Add some elements to the set of matched elements
after(String) - Method in interface org.joox.Match
Add content after each element in the set of matched elements.
after(Content) - Method in interface org.joox.Match
Add content after each element in the set of matched elements.
after(Match...) - Method in interface org.joox.Match
Add content after each element in the set of matched elements.
after(Element...) - Method in interface org.joox.Match
Add content after each element in the set of matched elements.
all() - Static method in class org.joox.JOOX
A filter that always returns true
and(Filter...) - Static method in class org.joox.JOOX
Combine filters
andSelf() - Method in interface org.joox.Match
Add the previous set of matched elements to the current one.
append(String) - Method in interface org.joox.Match
Append content to the end of each element's content in the set of matched elements.
append(Content) - Method in interface org.joox.Match
Append content to the end of each element's content in the set of matched elements.
append(Match...) - Method in interface org.joox.Match
Append content to the end of each element's content in the set of matched elements.
append(Element...) - Method in interface org.joox.Match
Append content to the end of each element's content in the set of matched elements.
at(int...) - Static method in class org.joox.JOOX
A filter that returns true on elements at given iteration indexes
attr(String) - Static method in class org.joox.JOOX
A filter that returns all elements with a given attribute
attr(String, String...) - Static method in class org.joox.JOOX
A filter that returns all elements with a given attribute being set to a given value
attr(String) - Method in interface org.joox.Match
Get an attribute from the first element in the set of matched elements, or null if the first element does not have that attribute.
attr(String, Class<T>) - Method in interface org.joox.Match
Get a converted attribute from the first element in the set of matched elements, or null if the first element does not have that attribute.
attr(String, String) - Method in interface org.joox.Match
Set an attribute on all elements in the set of matched elements.
attr(String, Content) - Method in interface org.joox.Match
Set an attribute on all elements in the set of matched elements.
Attrs - Interface in org.joox
A wrapper for a NamedNodeMap that is returned when calling Node.getAttributes() on a matched element.
attrs(String) - Static method in class org.joox.JOOX
Create a mapper that returns all attributes with a given name
attrs(String) - Method in interface org.joox.Match
Get an attribute from all elements in the set of matched elements jOOX is namespace-unaware.
attrs(String, Class<T>) - Method in interface org.joox.Match
Get a converted attribute from all elements in the set of matched elements jOOX is namespace-unaware.

B

before(String) - Method in interface org.joox.Match
Add content before each element in the set of matched elements.
before(Content) - Method in interface org.joox.Match
Add content before each element in the set of matched elements.
before(Match...) - Method in interface org.joox.Match
Add content before each element in the set of matched elements.
before(Element...) - Method in interface org.joox.Match
Add content before each element in the set of matched elements.
builder() - Static method in class org.joox.JOOX
Get a namespace-aware document builder

C

chain(Each...) - Static method in class org.joox.JOOX
Chain several instances of Each into a single one.
chain(Iterable<? extends Each>) - Static method in class org.joox.JOOX
Chain several instances of Each into a single one.
child() - Method in interface org.joox.Match
Find the first child of each element in the current set of matched elements.
child(String) - Method in interface org.joox.Match
Find the first matching child of each element in the current set of matched elements The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
child(Filter) - Method in interface org.joox.Match
Find the first matching child of each element in the current set of matched elements
child(int) - Method in interface org.joox.Match
Find the child at a given index of each element in the current set of matched elements.
children() - Method in interface org.joox.Match
Find all children of each element in the current set of matched elements.
children(String) - Method in interface org.joox.Match
Find all children of each element in the current set of matched elements.
children(Filter) - Method in interface org.joox.Match
Find all children of each element in the current set of matched elements.
children(int...) - Method in interface org.joox.Match
Find all children of each element at given indexes in the current set of matched elements.
Content - Interface in org.joox
A Callback providing (mostly new) content for each element
content(Context) - Method in interface org.joox.Content
The callback method invoked for every matched element.
content(String) - Static method in class org.joox.JOOX
Get a constant content that returns the same value for all elements.
content(Object) - Static method in class org.joox.JOOX
Get a constant content that returns a marshalled, JAXB-annotated value for all elements.
content() - Method in interface org.joox.Match
Get the XML content of the first element in the set of matched elements, or null if there are no matched elements This is the same as calling content(0)
content(int) - Method in interface org.joox.Match
Get the XML content at a given index in the current set of matched elements.
content(String) - Method in interface org.joox.Match
Add some XML content to all elements in the set of matched elements (possibly replacing existing content).
content(Object) - Method in interface org.joox.Match
Add some JAXB-marshallable XML content to all elements in the set of matched elements (possibly replacing existing content).
content(Content) - Method in interface org.joox.Match
Add some XML content to all elements in the set of matched elements (possibly replacing existing content).
contents() - Method in interface org.joox.Match
Get all XML content of the elements in the set of matched elements.
contents(int...) - Method in interface org.joox.Match
Get all XML content of the elements at given indexes in the set of matched elements.
Context - Interface in org.joox
The context object passed to callback methods in Content, Each, Filter, and Mapper
convert(String, Class<T>) - Static method in class org.joox.JOOX
Convert a string value to any of these types: String: The conversion has no effect Byte: Numeric conversion.
convert(List<String>, Class<T>) - Static method in class org.joox.JOOX
Convert several values
copy() - Method in interface org.joox.Match
Get a copy of the Match wrapper.
CSS2XPath - Class in org.joox.selector
A utility class converting CSS selector expressions to XPath expressions.
CSS2XPath() - Constructor for class org.joox.selector.CSS2XPath
 
css2xpath(String) - Static method in class org.joox.selector.CSS2XPath
Convert a CSS selector expression to an XPath expression
css2xpath(String, boolean) - Static method in class org.joox.selector.CSS2XPath
Convert a CSS selector expression to an XPath expression

D

document() - Method in interface org.joox.Match
Get the underlying document of the set of matched elements.

E

Each - Interface in org.joox
A callback to be executed for a set of matched elements.
each(Context) - Method in interface org.joox.Each
The callback method invoked for every matched element.
each() - Method in interface org.joox.Match
Get all elements in the set of matched elements in a list of matches, every match representing one element
each(Each) - Method in interface org.joox.Match
Execute a callback for every element in the current set of matched elements.
each(Each...) - Method in interface org.joox.Match
Execute several callbacks for every element in the current set of matched elements.
each(Iterable<? extends Each>) - Method in interface org.joox.Match
Execute several callbacks for every element in the current set of matched elements.
element() - Method in interface org.joox.Context
The element currently being iterated on.
elementIndex() - Method in interface org.joox.Context
The index of the element currently being iterated on.
elementSize() - Method in interface org.joox.Context
The number of elements currently being iterated on.
empty() - Method in interface org.joox.Match
Removes all content from all elements in the set of matched elements.
eq(int...) - Method in interface org.joox.Match
Reduce the current set of matched elements to the elements at the given indexes.
even() - Static method in class org.joox.JOOX
A filter that returns true on all even iteration indexes (starting with 0!)

F

FastFilter - Interface in org.joox
A filter indicating whether an element/index should be kept when reducing an Match node set In addition to the filtering functionality, this marker interface can be used to indicate that Context.elementSize() may not be needed for filtering.
Filter - Interface in org.joox
A filter indicating whether an element/index should be kept when reducing an Match node set
filter(Context) - Method in interface org.joox.Filter
The callback method invoked for every matched element.
filter(String) - Method in interface org.joox.Match
Reduce the current set of matched elements.
filter(Filter) - Method in interface org.joox.Match
Reduce the current set of matched elements.
find() - Method in interface org.joox.Match
Find all descendants of each element in the current set of matched elements.
find(String) - Method in interface org.joox.Match
Find all descendants of each element in the current set of matched elements.
find(Filter) - Method in interface org.joox.Match
Find all descendants of each element in the current set of matched elements.
first() - Method in interface org.joox.Match
Get the first in a set of matched elements.

G

get(int) - Method in interface org.joox.Match
Get an element from the set of matched elements at a given index Negative indexes are possible, too.
get(int...) - Method in interface org.joox.Match
Get some elements from the set of matched elements at the given indexes Negative indexes are possible, too.
get() - Method in interface org.joox.Match
Get an the set of matched elements

H

has(String) - Method in interface org.joox.Match
Reduce the set of matched element to those who have a descendant that matches a selector.
has(Filter) - Method in interface org.joox.Match
Reduce the set of matched element to those who have a descendant that matches a filter.

I

id() - Method in interface org.joox.Match
Get the first id value This is the same as calling id(0)
id(int) - Method in interface org.joox.Match
Get an id value at a given index in the current set of matched elements.
id(Class<T>) - Method in interface org.joox.Match
Get the first converted id value
ids(String...) - Static method in class org.joox.JOOX
Create a filter matching id attributes
ids() - Static method in class org.joox.JOOX
Create a mapper that returns all id attributes
ids() - Method in interface org.joox.Match
Get a list of id values in the current set of matched elements.
ids(int...) - Method in interface org.joox.Match
Get a list of id values at given indexes in the current set of matched elements.
ids(Class<T>) - Method in interface org.joox.Match
Get a list of converted id values in the current set of matched elements.
is(String) - Method in interface org.joox.Match
Check if at least one element in the set of matched elements satisfies a selector.
is(Filter) - Method in interface org.joox.Match
Check if at least one element in the set of matched elements satisfies a filter.
isEmpty() - Method in interface org.joox.Match
Whether there are any matched elements in the set of matched elements
isNotEmpty() - Method in interface org.joox.Match
Whether there are any matched elements in the set of matched elements
iterable(NodeList) - Static method in class org.joox.JOOX
Wrap a NodeList into an Iterable
iterator(NodeList) - Static method in class org.joox.JOOX
Wrap a NodeList into an Iterator

J

JOOX - Class in org.joox
 
JOOX() - Constructor for class org.joox.JOOX
 

L

last() - Method in interface org.joox.Match
Get the last in a set of matched elements.
leaf() - Static method in class org.joox.JOOX
A filter that returns true on leaf elements
leaf() - Method in interface org.joox.Match
Reduce the set of matched elements to the ones that are leaf elements
list(NodeList) - Static method in class org.joox.JOOX
Wrap a NodeList into an List

M

map(Context) - Method in interface org.joox.Mapper
The callback method invoked for every matched element.
map(Mapper<E>) - Method in interface org.joox.Match
Map the set of matched elements to a list of something
Mapper<E> - Interface in org.joox
A mapping type providing data for every element.
match() - Method in interface org.joox.Context
The element in the set of matched elements from which this callback is made.
Match - Interface in org.joox
A wrapper type for Element This is the main type of the jOOX library.
matchAttr(String, String) - Static method in class org.joox.JOOX
A filter that returns all elements whose text content matches a given regex
matchAttr(String, String) - Method in interface org.joox.Match
Reduce the set of matched elements by filtering out those whose attribute content doesn't match a given regex This is the same as calling matchAttr(name, valueRegex, true)
matchAttr(String, String, boolean) - Method in interface org.joox.Match
Reduce the set of matched elements by filtering out those whose attribute content doesn't match a given regex (keepMatches = true), or those whose text content matches a given regex (keepMatches = false)
matchIndex() - Method in interface org.joox.Context
The index of the element in the set of matched elements from which this callback is made.
matchSize() - Method in interface org.joox.Context
The number of elements in the set of matched elements from which this callback is made.
matchTag(String) - Static method in class org.joox.JOOX
A filter that returns all elements whose tag name matches a given regex This is the same as calling matchTag(regex, true)
matchTag(String, boolean) - Static method in class org.joox.JOOX
A filter that returns all elements whose tag name matches a given regex This method allows for specifying whether namespace prefixes should be ignored.
matchTag(String) - Method in interface org.joox.Match
Reduce the set of matched elements by filtering out those whose tag name doesn't match a given regex This is the same as calling matchText(regex, true)
matchTag(String, boolean) - Method in interface org.joox.Match
Reduce the set of matched elements by filtering out those whose tag name doesn't match a given regex (keepMatches = true), or those whose tag name matches a given regex (keepMatches = false)
matchText(String) - Static method in class org.joox.JOOX
A filter that returns all elements whose text content matches a given regex
matchText(String) - Method in interface org.joox.Match
Reduce the set of matched elements by filtering out those whose text content doesn't match a given regex This is the same as calling matchText(regex, true)
matchText(String, boolean) - Method in interface org.joox.Match
Reduce the set of matched elements by filtering out those whose text content doesn't match a given regex (keepMatches = true), or those whose text content matches a given regex (keepMatches = false)

N

namespace(String, String) - Method in interface org.joox.Match
Get a new Match with added namespace configuration for subsequent XPath calls This is a convenience method for Match.namespace(String, String)
namespacePrefix(String) - Static method in class org.joox.JOOX
A filter that returns all elements with a given namespace prefix null and the empty string are treated equally to indicate that no namespace prefix should be present.
namespacePrefix() - Method in interface org.joox.Match
Get the namespace prefix of the first element in the current set of matched elements.
namespacePrefix(int) - Method in interface org.joox.Match
Get a namespace prefix of the element at a given index in the current set of matched elements.
namespacePrefixes() - Method in interface org.joox.Match
Get a list of namespace prefixes of the elements in the current set of matched elements.
namespacePrefixes(int...) - Method in interface org.joox.Match
Get a list of namespace prefixes of the elements at given indexes in the current set of matched elements.
namespaces(Map<String, String>) - Method in interface org.joox.Match
Get a new Match with added namespace configuration for subsequent XPath calls
namespaceURI(String) - Static method in class org.joox.JOOX
A filter that returns all elements with a given namespace URI null and the empty string are treated equally to indicate that no namespace URI should be present.
namespaceURI() - Method in interface org.joox.Match
Get the namespace URI of the first element in the current set of matched elements.
namespaceURI(int) - Method in interface org.joox.Match
Get a namespace URI of the element at a given index in the current set of matched elements.
namespaceURIs() - Method in interface org.joox.Match
Get a list of namespace URIs of the elements in the current set of matched elements.
namespaceURIs(int...) - Method in interface org.joox.Match
Get a list of namespace URIs of the elements at given indexes in the current set of matched elements.
next() - Method in interface org.joox.Match
Get the immediate next sibling of every element in set of matched elements.
next(String) - Method in interface org.joox.Match
Get the immediate next sibling of every element in set of matched elements, matching a selector The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
next(Filter) - Method in interface org.joox.Match
Get the immediate next sibling of every element in set of matched elements, matching a filter The callback Context is populated like this: Context.match() - the matched element whose next sibling is searched Context.matchIndex() - the index of the matched element whose next sibling is searched Context.element() - the next sibling that is being filtered Context.elementIndex() - 1
nextAll() - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements
nextAll(String) - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements, matching a selector The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
nextAll(Filter) - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements, matching a filter The callback Context is populated like this: Context.match() - the matched element whose next siblings are searched Context.matchIndex() - the index of the matched element whose next siblings are searched Context.element() - the next siblings that is being filtered Context.elementIndex() - the relative index of the next siblings that are being filtered
nextUntil(String) - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements until the provided selector matches The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
nextUntil(Filter) - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose next siblings are searched Context.matchIndex() - the index of the matched element whose next siblings are searched Context.element() - the next siblings that is being filtered Context.elementIndex() - the relative index of the next siblings that are being filtered
nextUntil(String, String) - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements, matching a selector, until the provided selector matches The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
nextUntil(String, Filter) - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements, matching a filter, until the provided selector matches The callback Context is populated like this: Context.match() - the matched element whose next siblings are searched Context.matchIndex() - the index of the matched element whose next siblings are searched Context.element() - the next siblings that is being filtered Context.elementIndex() - the relative index of the next siblings that are being filtered
nextUntil(Filter, String) - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements, matching a selector until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose next siblings are searched Context.matchIndex() - the index of the matched element whose next siblings are searched Context.element() - the next siblings that is being filtered Context.elementIndex() - the relative index of the next siblings that are being filtered
nextUntil(Filter, Filter) - Method in interface org.joox.Match
Get all next siblings of every element in a set of matched elements, matching a filter until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose next siblings are searched Context.matchIndex() - the index of the matched element whose next siblings are searched Context.element() - the next siblings that is being filtered Context.elementIndex() - the relative index of the next siblings that are being filtered
none() - Static method in class org.joox.JOOX
A filter that always returns false
not(Filter) - Static method in class org.joox.JOOX
Inverse a filter
not(String) - Method in interface org.joox.Match
Remove elements from the set of matched elements.
not(Filter) - Method in interface org.joox.Match
Remove elements from the set of matched elements.

O

odd() - Static method in class org.joox.JOOX
A filter that returns true on all odd iteration indexes (starting with 0!)
or(Filter...) - Static method in class org.joox.JOOX
Combine filters
org.joox - package org.joox
 
org.joox.selector - package org.joox.selector
 

P

parent() - Method in interface org.joox.Match
Get the immediate parent elements of every element in a set of matched elements
parent(String) - Method in interface org.joox.Match
Get the immediate parent elements of every element in a set of matched elements, matching a selector The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
parent(Filter) - Method in interface org.joox.Match
Get the immediate parent elements of every element in a set of matched elements, matching a filter The callback Context is populated like this: Context.match() - the matched element whose parent is searched Context.matchIndex() - the index of the matched element whose parent is searched Context.element() - the parent that is being filtered Context.elementIndex() - 1
parents() - Method in interface org.joox.Match
Get all ancestor elements of every element in a set of matched elements
parents(String) - Method in interface org.joox.Match
Get all ancestor elements of every element in a set of matched elements, matching a selector The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
parents(Filter) - Method in interface org.joox.Match
Get all ancestor elements of every element in a set of matched elements, matching a filter The callback Context is populated like this: Context.match() - the matched element whose parents are searched Context.matchIndex() - the index of the matched element whose parents are searched Context.element() - the parent that is being filtered Context.elementIndex() - the relative index of the parent that is being filtered
parentsUntil(String) - Method in interface org.joox.Match
Get all ancestors of every element in a set of matched elements until the provided selector matches The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
parentsUntil(Filter) - Method in interface org.joox.Match
Get all ancestors of every element in a set of matched elements until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose parents are searched Context.matchIndex() - the index of the matched element whose parents are searched Context.element() - the parent that is being filtered Context.elementIndex() - the relative index of the parent that is being filtered
parentsUntil(String, String) - Method in interface org.joox.Match
Get all ancestors of every element in a set of matched elements, matching a selector, until the provided selector matches The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
parentsUntil(String, Filter) - Method in interface org.joox.Match
Get all ancestors of every element in a set of matched elements, matching a filter, until the provided selector matches The callback Context is populated like this: Context.match() - the matched element whose parents are searched Context.matchIndex() - the index of the matched element whose parents are searched Context.element() - the parent that is being filtered Context.elementIndex() - the relative index of the parent that is being filtered
parentsUntil(Filter, String) - Method in interface org.joox.Match
Get all ancestors of every element in a set of matched elements, matching a selector until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose parents are searched Context.matchIndex() - the index of the matched element whose parents are searched Context.element() - the parent that is being filtered Context.elementIndex() - the relative index of the parent that is being filtered
parentsUntil(Filter, Filter) - Method in interface org.joox.Match
Get all ancestors of every element in a set of matched elements, matching a filter until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose parents are searched Context.matchIndex() - the index of the matched element whose parents are searched Context.element() - the parent that is being filtered Context.elementIndex() - the relative index of the parent that is being filtered
paths() - Static method in class org.joox.JOOX
Create a mapper that returns all paths to given elements
prepend(String) - Method in interface org.joox.Match
Prepend content to the beginning of each element's content in the set of matched elements.
prepend(Content) - Method in interface org.joox.Match
Prepend content to the beginning of each element's content in the set of matched elements.
prepend(Match...) - Method in interface org.joox.Match
Prepend content to the beginning of each element's content in the set of matched elements.
prepend(Element...) - Method in interface org.joox.Match
Prepend content to the beginning of each element's content in the set of matched elements.
prev() - Method in interface org.joox.Match
Get the immediate previous sibling of every element in set of matched elements.
prev(String) - Method in interface org.joox.Match
Get the immediate previous sibling of every element in set of matched elements, matching a selector The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
prev(Filter) - Method in interface org.joox.Match
Get the immediate previous sibling of every element in set of matched elements, matching a filter The callback Context is populated like this: Context.match() - the matched element whose previous sibling is searched Context.matchIndex() - the index of the matched element whose previous sibling is searched Context.element() - the previous sibling that is being filtered Context.elementIndex() - 1
prevAll() - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements
prevAll(String) - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements, matching a selector The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
prevAll(Filter) - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements, matching a filter The callback Context is populated like this: Context.match() - the matched element whose previous siblings are searched Context.matchIndex() - the index of the matched element whose previous siblings are searched Context.element() - the previous siblings that is being filtered Context.elementIndex() - the relative index of the previous siblings that are being filtered
prevUntil(String) - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements until the provided selector matches The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
prevUntil(Filter) - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose previous siblings are searched Context.matchIndex() - the index of the matched element whose previous siblings are searched Context.element() - the previous siblings that is being filtered Context.elementIndex() - the relative index of the previous siblings that are being filtered
prevUntil(String, String) - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements, matching a selector, until the provided selector matches The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
prevUntil(String, Filter) - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements, matching a filter, until the provided selector matches The callback Context is populated like this: Context.match() - the matched element whose previous siblings are searched Context.matchIndex() - the index of the matched element whose previous siblings are searched Context.element() - the previous siblings that is being filtered Context.elementIndex() - the relative index of the previous siblings that are being filtered
prevUntil(Filter, String) - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements, matching a selector until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose previous siblings are searched Context.matchIndex() - the index of the matched element whose previous siblings are searched Context.element() - the previous siblings that is being filtered Context.elementIndex() - the relative index of the previous siblings that are being filtered
prevUntil(Filter, Filter) - Method in interface org.joox.Match
Get all previous siblings of every element in a set of matched elements, matching a filter until the provided filter matches The callback Context is populated like this: Context.match() - the matched element whose previous siblings are searched Context.matchIndex() - the index of the matched element whose previous siblings are searched Context.element() - the previous siblings that is being filtered Context.elementIndex() - the relative index of the previous siblings that are being filtered

R

remove() - Method in interface org.joox.Match
Removes all elements from their parent nodes in the set of matched elements.
remove(String) - Method in interface org.joox.Match
Removes all elements from their parent nodes in the set of matched elements, matching a selector The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
remove(Filter) - Method in interface org.joox.Match
Removes all elements from their parent nodes in the set of matched elements, matching a filter The callback Context is populated like this: Context.match() - the matched element being removed Context.matchIndex() - the index of the matched element being removed
removeAttr(String) - Method in interface org.joox.Match
Remove an attribute from all elements in the set of matched elements.
rename(String) - Method in interface org.joox.Match
Rename all tags in the set of matched elements to some new tag name
rename(Content) - Method in interface org.joox.Match
Rename all tags in the set of matched elements to some new tag name
replaceWith(String) - Method in interface org.joox.Match
Replace all elements in the set of matched elements with some new content.
replaceWith(Content) - Method in interface org.joox.Match
Replace all elements in the set of matched elements with some new content.
replaceWith(Match...) - Method in interface org.joox.Match
Replace all elements in the set of matched elements with some new content.
replaceWith(Element...) - Method in interface org.joox.Match
Replace all elements in the set of matched elements with some new content.
reverse() - Method in interface org.joox.Match
Reverse the order of the set of matched elements

S

scan() - Method in class org.joox.selector.Scanner
Scan the Scanner.input.
Scanner - Class in org.joox.selector
A selectors scanner as defined by Selectors Level 3 specification.
Scanner(CharSequence) - Constructor for class org.joox.selector.Scanner
Create a new scanner instance with the specified input.
selector(String) - Static method in class org.joox.JOOX
A filter that returns all elements matched by a given selector.
siblings() - Method in interface org.joox.Match
Get all siblings of every element in a set of matched elements
siblings(String) - Method in interface org.joox.Match
Get all siblings of every element in a set of matched elements, matching a selector The selector provided to this method supports the following features: * can be used to select everything tag names can be used to select XML elements by tag names (see Element.getElementsByTagName(String).
siblings(Filter) - Method in interface org.joox.Match
Get all siblings of every element in a set of matched elements, matching a filter The callback Context is populated like this: Context.match() - the matched element whose siblings are searched Context.matchIndex() - the index of the matched element whose siblings are searched Context.element() - the sibling that is being filtered Context.elementIndex() - the relative index of the sibling that is being filtered.
size() - Method in interface org.joox.Match
Get the number of matched elements in the set of matched elements
slice(int) - Method in interface org.joox.Match
Reduce the set of matched elements by specifying a range of indexes This is the same as calling slice(start, Integer.MAX_VALUE)
slice(int, int) - Method in interface org.joox.Match
Reduce the set of matched elements by specifying a range of indexes
sort(Comparator<Element>) - Method in interface org.joox.Match
Allows to sort the result with the given comparator.

T

tag(String) - Static method in class org.joox.JOOX
A filter that returns all elements with a given tag name This is the same as calling tag(tagName, true)
tag(String, boolean) - Static method in class org.joox.JOOX
A filter that returns all elements with a given tag name This method allows for specifying whether namespace prefixes should be ignored.
tag() - Method in interface org.joox.Match
Get the tag name of the first element in the current set of matched elements.
tag(int) - Method in interface org.joox.Match
Get a tag name of the element at a given index in the current set of matched elements.
tags() - Method in interface org.joox.Match
Get a list of tag names of the elements in the current set of matched elements.
tags(int...) - Method in interface org.joox.Match
Get a list of tag names of the elements at given indexes in the current set of matched elements.
text() - Method in interface org.joox.Match
Get the text content of the first element in the set of matched elements, or null if there are no matched elements.
text(Class<T>) - Method in interface org.joox.Match
Get the converted text content of the first element in the set of matched elements, or null if there are no matched elements.
text(int) - Method in interface org.joox.Match
Get the text content at a given index in the current set of matched elements.
text(String) - Method in interface org.joox.Match
Set some text content to all elements in the set of matched elements (possibly replacing existing content).
text(Content) - Method in interface org.joox.Match
Set some text content to all elements in the set of matched elements (possibly replacing existing content).
texts() - Method in interface org.joox.Match
Get all text content of the elements in the set of matched elements.
texts(Class<T>) - Method in interface org.joox.Match
Get all converted text content of the elements in the set of matched elements.
texts(int...) - Method in interface org.joox.Match
Get all text content of the elements at given indexes in the set of matched elements.
transform(Transformer) - Method in interface org.joox.Match
Transform all elements in the set of matched elements.
transform(Source) - Method in interface org.joox.Match
Transform all elements in the set of matched elements.
transform(InputStream) - Method in interface org.joox.Match
Transform all elements in the set of matched elements.
transform(Reader) - Method in interface org.joox.Match
Transform all elements in the set of matched elements.
transform(URL) - Method in interface org.joox.Match
Transform all elements in the set of matched elements.
transform(File) - Method in interface org.joox.Match
Transform all elements in the set of matched elements.
transform(String) - Method in interface org.joox.Match
Transform all elements in the set of matched elements.

U

unmarshal(Class<T>) - Method in interface org.joox.Match
Unmarshal the current set of matched elements into a JAXB-annotated type.
unmarshal(Class<T>, int...) - Method in interface org.joox.Match
Unmarshal the current set of matched elements at given indexes into a JAXB-annotated type.
unmarshalOne(Class<T>) - Method in interface org.joox.Match
Unmarshal the first element in the current set of matched elements into a JAXB-annotated type.
unmarshalOne(Class<T>, int) - Method in interface org.joox.Match
Unmarshal the element at a given index in the current set of matched elements into a JAXB-annotated type.
unwrap() - Method in interface org.joox.Match
Removes all elements in the set of matched elements from their parents The resulting set of matched elements contains the newly unwrapped elements

W

wrap(String) - Method in interface org.joox.Match
Wrap all elements from their parent nodes in the set of matched elements in a new parent element The resulting set of matched elements contains the newly wrapped elements
wrap(Content) - Method in interface org.joox.Match
Wrap all elements in the set of matched elements in a new parent element The resulting set of matched elements contains the newly wrapped elements
write(Writer) - Method in interface org.joox.Match
Write the set of matched elements into a writer If the set contains more or less than 1 element, this will result in writing non-well-formed XML
write(OutputStream) - Method in interface org.joox.Match
Write the set of matched elements into a stream If the set contains more or less than 1 element, this will result in writing non-well-formed XML
write(File) - Method in interface org.joox.Match
Write the set of matched elements into a file If the set contains more or less than 1 element, this will result in writing non-well-formed XML

X

xpath(String) - Method in interface org.joox.Match
Match all elements given a certain XPath expression applied to each element in the current set of matched elements.
xpath(String, Object...) - Method in interface org.joox.Match
Match all elements given a certain XPath expression applied to each element in the current set of matched elements.
xpath() - Method in interface org.joox.Match
Get an XPath expression describing the first element in the current set of matched elements This is the same as calling xpath(0)
xpath(int) - Method in interface org.joox.Match
Get an XPath expression describing the element at a given index in the current set of matched elements
xpaths() - Method in interface org.joox.Match
Get a list of XPath expressions describing the elements in the current set of matched elements
xpaths(int...) - Method in interface org.joox.Match
Get a list of XPath expressions describing the elements at the given indexes in the current set of matched elements
$ A B C D E F G H I J L M N O P R S T U W X 
Skip navigation links

Copyright © 2015. All Rights Reserved.