Class InheritedLabelQuery

  • All Implemented Interfaces:
    Expandable<SearchQuery>, SearchQuery

    public class InheritedLabelQuery
    extends Object
    implements SearchQuery
    Query for matching a single Label that was inherited from a piece of parent content, for example, searching for comments attached to pages with a certain label
    • Constructor Detail

      • InheritedLabelQuery

        public InheritedLabelQuery​(String label)
        Construct a LabelQuery from a string representation of a label.
        Parameters:
        label - a representations of a label. Can be namespaced.
        See Also:
        LabelParser
      • InheritedLabelQuery

        public InheritedLabelQuery​(Label label)
        Construct a LabelQuery directly from the Label instance to be searched for
        Parameters:
        label - the label to search for