Uses of Class
tigase.xml.Path

Packages that use Path
Package
Description
Simple XML parser implementation.
  • Uses of Path in tigase.xml

    Methods in tigase.xml that return Path
    Modifier and Type
    Method
    Description
    static @NonNull Path
    Path.nameAndXmlns(@NonNull String name, @NonNull String xmlns)
     
    static @NonNull Path
    Path.of(@NonNull String... matcherStrings)
    Simplified for to ease transition from String[] to Path.
    static @NonNull Path
    Path.of(@NonNull ElementMatcher... matchers)
    Method for creating Path from ElementMatchers.
    static @NonNull Path
    Path.parse(@NonNull String text)
    Method parses String into path
    Path.then(ElementMatcher matcher)
    Method for building a new path by adding additional element matcher to the end of the path
    Methods in tigase.xml with parameters of type Path
    Modifier and Type
    Method
    Description
    @Nullable Element
    Element.findChildAt(@NonNull Path path)
    Method returns first element which matches path
    @NonNull List<Element>
    Element.findChildrenAt(@NonNull Path path)
    Method returns list of children matching path
    @Nullable String
    Element.getAttributeAt(Path path, String name)
    Method returns value of the attribute of the first element matching path
    @Nullable String
    Element.getCDataAt(@NonNull Path path)
    Method returns CData value of the first element matching path