Class AutolinkNodePostProcessor.DummyLinkSpan

  • All Implemented Interfaces:
    org.nibor.autolink.LinkSpan, org.nibor.autolink.Span
    Enclosing class:
    AutolinkNodePostProcessor

    private static class AutolinkNodePostProcessor.DummyLinkSpan
    extends java.lang.Object
    implements org.nibor.autolink.LinkSpan
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int beginIndex  
      private int endIndex  
      private org.nibor.autolink.LinkType linkType  
    • Constructor Summary

      Constructors 
      Constructor Description
      DummyLinkSpan​(org.nibor.autolink.LinkType linkType, int beginIndex, int endIndex)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getBeginIndex()  
      int getEndIndex()  
      org.nibor.autolink.LinkType getType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • linkType

        private final org.nibor.autolink.LinkType linkType
      • beginIndex

        private final int beginIndex
      • endIndex

        private final int endIndex
    • Constructor Detail

      • DummyLinkSpan

        public DummyLinkSpan​(org.nibor.autolink.LinkType linkType,
                             int beginIndex,
                             int endIndex)
    • Method Detail

      • getType

        public org.nibor.autolink.LinkType getType()
        Specified by:
        getType in interface org.nibor.autolink.LinkSpan
      • getBeginIndex

        public int getBeginIndex()
        Specified by:
        getBeginIndex in interface org.nibor.autolink.Span
      • getEndIndex

        public int getEndIndex()
        Specified by:
        getEndIndex in interface org.nibor.autolink.Span