Package | Description |
---|---|
org.jdom |
Classes to represent the components of an XML document.
|
org.jdom.filter |
Classes to programmatically filter nodes of a document based on type, name,
value, or other aspects and to boolean and/or/negate these rules.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
Document.getContent(Filter filter)
Return a filtered view of this
Document 's content. |
java.util.List |
Parent.getContent(Filter filter)
Returns as a
List the content of
this parent that matches the supplied filter. |
java.util.List |
Element.getContent(Filter filter)
Return a filter view of this
Element 's content. |
java.util.Iterator |
Document.getDescendants(Filter filter)
Returns an iterator that walks over all descendants in document order
applying the Filter to return only elements that match the filter rule.
|
java.util.Iterator |
Parent.getDescendants(Filter filter)
Returns an
Iterator that walks over all descendants
in document order applying the Filter to return only elements that
match the filter rule. |
java.util.Iterator |
Element.getDescendants(Filter filter)
Returns an iterator that walks over all descendants in document order
applying the Filter to return only elements that match the filter rule.
|
java.util.List |
Document.removeContent(Filter filter)
Remove all child content from this parent matching the supplied filter.
|
java.util.List |
Parent.removeContent(Filter filter)
Removes from this parent all child content matching the given filter
and returns a list of the detached children.
|
java.util.List |
Element.removeContent(Filter filter)
Remove all child content from this parent matching the supplied filter.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilter
Partial implementation of
Filter . |
class |
ContentFilter
A general purpose Filter able to represent all legal JDOM objects or a
specific subset.
|
class |
ElementFilter
A Filter that only matches
Element objects. |
Modifier and Type | Method and Description |
---|---|
Filter |
AbstractFilter.and(Filter filter) |
Filter |
AbstractFilter.negate() |
Filter |
AbstractFilter.or(Filter filter) |
Modifier and Type | Method and Description |
---|---|
Filter |
AbstractFilter.and(Filter filter) |
Filter |
AbstractFilter.or(Filter filter) |
Copyright ? 2011 Jason Hunter, Brett McLaughlin. All Rights Reserved.