Uses of Interface
org.jdom2.filter.Filter
Packages that use Filter
Package
Description
Classes representing the components of an XML document.
Classes to both filter and generically type-cast nodes of a document
based on type, name, value, or other aspects, and to boolean
AND/OR/NEGATE these rules.
Support for XPath from within JDOM.
Support for the Jaxen XPath Library.
Classes useful for interfacing the JDOM XPath API to full XPath libraries.
-
Uses of Filter in org.jdom2
Modifier and TypeMethodDescriptionDocument.getContent(Filter<F> filter) Return a filtered view of thisDocument's content.Element.getContent(Filter<E> filter) Return a filter view of thisElement's content.Parent.getContent(Filter<E> filter) Returns as aListthe content of this parent that matches the supplied filter.<F extends Content>
IteratorIterable<F>Document.getDescendants(Filter<F> filter) Returns an iterator that walks over all descendants in document order applying the Filter to return only elements that match the filter rule.<F extends Content>
IteratorIterable<F>Element.getDescendants(Filter<F> filter) Returns an iterator that walks over all descendants in document order applying the Filter to return only content that match the filter rule.<E extends Content>
IteratorIterable<E>Parent.getDescendants(Filter<E> filter) Returns anIteratorthat walks over all descendants in document order applying the Filter to return only content that match the filter rule.Document.removeContent(Filter<F> filter) Remove all child content from this parent matching the supplied filter.Element.removeContent(Filter<F> filter) Remove all child content from this parent matching the supplied filter.Parent.removeContent(Filter<E> filter) Removes from this parent all child content matching the given filter and returns a list of the detached children.<E extends Content>
voidElement.sortContent(Filter<E> filter, Comparator<? super E> comparator) Sort the child content of this Element that matches the Filter, using a mechanism that is safe for JDOM content. -
Uses of Filter in org.jdom2.filter
Classes in org.jdom2.filter that implement FilterModifier and TypeClassDescriptionclassPartial implementation ofFilter.classA Filter that only matchesAttributeobjects.classA general purpose Filter able to represent all legal JDOM objects or a specific subset.classA Filter that only matchesElementobjects.Methods in org.jdom2.filter that return FilterModifier and TypeMethodDescriptionCreates an ANDing filter.Filters.attribute()Return a Filter that matches anyAttributedata.Return a Filter that matches anyAttributedata with the specified name.Return a Filter that matches anyAttributedata with the specified name and namespace.Return a Filter that matches anyAttributedata with the specified namespace.Filters.cdata()Return a Filter that matches anyCDATAdata.Filters.comment()Return a Filter that matches anyCommentdata.Filters.content()Return a Filter that matches anyContentdata.Filters.doctype()Return a Filter that matches anyDocTypedata.Filters.document()Return a Filter that matches anyDocumentdata.Filters.element()Return a Filter that matches anyElementdata.Return a Filter that matches anyElementdata with the specified name.Return a Filter that matches anyElementdata with the specified name and Namespace.Return a Filter that matches anyElementdata with the specified Namespace.Filters.entityref()Return a Filter that matches anyEntityRefdata.Filters.fboolean()Return a Filter that matches any Boolean data.static final <F> Filter<F>Return a Filter that matches any data of the specified Class.Filters.fdouble()Return a Filter that matches any Double data.Filters.fpassthrough()Return a filter that does no filtering at all - everything matches.Filters.fstring()Return a Filter that matches any String data.final Filter<?>AbstractFilter.negate()Filter.negate()Creates an 'inverse' filterCreates an ORing filterstatic final Filter<ProcessingInstruction>Filters.processinginstruction()Return a Filter that matches anyProcessingInstructiondata.<R> Filter<R><R> Filter<R>This is similar to the and(Filter) method except the generic type is different.Filters.text()Filters.textOnly()Methods in org.jdom2.filter with parameters of type Filter -
Uses of Filter in org.jdom2.xpath
Methods in org.jdom2.xpath that return FilterModifier and TypeMethodDescriptionXPathBuilder.getFilter()Get the Filter instance used for coercion.XPathExpression.getFilter()Get theFilter<T>used to coerce the raw XPath results in to the correct Generic type.Methods in org.jdom2.xpath with parameters of type FilterModifier and TypeMethodDescription<T> XPathExpression<T>Create a XPathExpression<T> instance from this factory.<T> XPathExpression<T>XPathFactory.compile(String expression, Filter<T> filter, Map<String, Object> variables, Collection<Namespace> namespaces) Create a XPathExpression<> instance from this factory.abstract <T> XPathExpression<T>XPathFactory.compile(String expression, Filter<T> filter, Map<String, Object> variables, Namespace... namespaces) Create a Compiled XPathExpression<> instance from this factory.Constructors in org.jdom2.xpath with parameters of type FilterModifierConstructorDescriptionXPathBuilder(String expression, Filter<T> filter) Create a skeleton XPathBuilder with the given expression and result filter. -
Uses of Filter in org.jdom2.xpath.jaxen
Methods in org.jdom2.xpath.jaxen with parameters of type Filter -
Uses of Filter in org.jdom2.xpath.util
Methods in org.jdom2.xpath.util that return FilterConstructors in org.jdom2.xpath.util with parameters of type Filter