Class PathElement


  • public class PathElement
    extends Object
    A part of a path to a faulty/missing element in a schema.
    Author:
    Antonin Delpeuch
    • Constructor Detail

      • PathElement

        public PathElement​(PathElement.Type type,
                           int position)
        Constructs a PathElement given by the type of element in which to recurse, and an ordinal number indicating which of the children of that type to follow.
      • PathElement

        public PathElement​(PathElement.Type type,
                           String name)
        Constructs a PathElement given by the type of the element in which to recurse, as well as a string to identify which one (in case there are multiple ones). For instance, indicating which property to follow, to select the right statement in an item.
      • PathElement

        public PathElement​(PathElement.Type type)
        A PathElement in which there is a single element of the given type, so the ordinal number is not needed.