Package tigase.xml
Class ElementFilters
java.lang.Object
tigase.xml.ElementFilters
Class contains helper functions to easily create
Predicate<Element>-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod returns predicate testingElementattribute name and valueMethod returns predicate testingElementnamenameAndAttribute(@NotNull String name, @NotNull String attributeName, @NotNull String attributeValue) Method returns predicate testingElementname, attribute name and valuenameAndXMLNS(@NotNull String name, @NotNull String xmlns) Method returns predicate testingElementname and xmlnsMethod returns predicate testingElementXMLNS
-
Constructor Details
-
ElementFilters
public ElementFilters()
-
-
Method Details
-
xmlns
Method returns predicate testingElementXMLNS -
name
Method returns predicate testingElementname -
attribute
@NotNull public static @NotNull Predicate<Element> attribute(@NotNull @NotNull String name, @NotNull @NotNull String value) Method returns predicate testingElementattribute name and value -
nameAndAttribute
@NotNull public static @NotNull Predicate<Element> nameAndAttribute(@NotNull @NotNull String name, @NotNull @NotNull String attributeName, @NotNull @NotNull String attributeValue) Method returns predicate testingElementname, attribute name and value -
nameAndXMLNS
@NotNull public static @NotNull Predicate<Element> nameAndXMLNS(@NotNull @NotNull String name, @NotNull @NotNull String xmlns) Method returns predicate testingElementname and xmlns
-