Class ParsedReferencePoints


  • public class ParsedReferencePoints
    extends Object
    Holds the reference points for a particular parent tag spec, including their resolved TagSpec ids.
    Author:
    nhant01, GeorgeLuo
    • Constructor Detail

      • ParsedReferencePoints

        public ParsedReferencePoints​(@Nonnull
                                     dev.amp.validator.ValidatorProtos.TagSpec parentTagSpec)
        Constructor.
        Parameters:
        parentTagSpec - the parent TagSpec.
    • Method Detail

      • iterate

        public List<dev.amp.validator.ValidatorProtos.ReferencePoint> iterate()
        Return the reference points list.
        Returns:
        returns the reference points list.
      • empty

        public boolean empty()
        Return true if the parent tag spec's reference point size is empty.
        Returns:
        returns true if parent tag spec's reference point size is empty.
      • size

        public int size()
        Returns the parent tag spec's reference points size.
        Returns:
        returns the parent tag spec's reference points size.
      • parentSpecUrl

        public String parentSpecUrl()
        Returns the parent's tag spec url.
        Returns:
        returns the parent's tag spec url.
      • parentTagSpecName

        public String parentTagSpecName()
        Returns the parent's tag spec name.
        Returns:
        returns the parent's tag spec name.
      • cleanup

        public void cleanup()
        Clean up reference, improve gc performance.