Class Source.SelectedHtml

  • All Implemented Interfaces:
    Source
    Enclosing interface:
    Source

    public static class Source.SelectedHtml
    extends java.lang.Object
    implements Source
    • Constructor Detail

      • SelectedHtml

        public SelectedHtml()
    • Method Detail

      • getText

        public java.lang.String getText​(us.codecraft.webmagic.Page page,
                                        java.lang.String html,
                                        boolean isRaw,
                                        FieldExtractor fieldExtractor)
        Specified by:
        getText in interface Source
      • getTextList

        public java.util.List<java.lang.String> getTextList​(us.codecraft.webmagic.Page page,
                                                            java.lang.String html,
                                                            boolean isRaw,
                                                            FieldExtractor fieldExtractor)
        Specified by:
        getTextList in interface Source