Class SPath


  • public final class SPath
    extends Object
    Simple path.

    It must have the form: (part/)*part or (part(/part)*)@part

    Author:
    Damien Carbonne
    • Constructor Detail

      • SPath

        public SPath​(String text)
    • Method Detail

      • isAttribute

        public boolean isAttribute()
      • matchesElement

        public boolean matchesElement​(Parent parent)
      • matchesElement

        public boolean matchesElement​(Parent parent,
                                      String name)
      • matchesAttribute

        public boolean matchesAttribute​(Element parent,
                                        String name)