Class Part


  • public class Part
    extends Object
    Elementary parts that constitute a Path.

    A Part has a type.

    • element
    • attribute
    • text
    • comment
    This is mainly used to compute statistics. comment|text|element+|element+attribute|element+comment|element+text element*(text|comment)|element+attribute
    Author:
    Damien Carbonne
    • Field Detail

      • DOT

        public static final Part DOT
      • DOT_DOT

        public static final Part DOT_DOT
    • Constructor Detail

      • Part

        public Part​(String name)
    • Method Detail

      • getName

        public String getName()
      • getElementName

        public String getElementName()
      • getAttributeName

        public String getAttributeName()
      • getSelectorName

        public String getSelectorName()
      • getSelectorValue

        public String getSelectorValue()