Tabnine Logo
HTMLHighlighter$TagAction.afterEnd
Code IndexAdd Tabnine to your IDE (free)

How to use
afterEnd
method
in
de.l3s.boilerpipe.sax.HTMLHighlighter$TagAction

Best Java code snippets using de.l3s.boilerpipe.sax.HTMLHighlighter$TagAction.afterEnd (Showing top 4 results out of 315)

origin: de.l3s.boilerpipe/boilerpipe

public void endElement(String uri, String localName, String qName)
    throws SAXException {
  TagAction ta = TAG_ACTIONS.get(localName);
  if (ta != null) {
    ta.beforeEnd(this, localName);
  }
  try {
    if (inIgnorableElement == 0) {
      if (outputHighlightOnly) {
        boolean highlight = contentBitSet
            .get(characterElementIdx);
        if (!highlight) {
          return;
        }
      }
      html.append("</");
      html.append(qName);
      html.append('>');
    }
  } finally {
    if (ta != null) {
      ta.afterEnd(this, localName);
    }
  }
}
origin: com.syncthemall/boilerpipe

public void endElement(String uri, String localName, String qName)
    throws SAXException {
  TagAction ta = TAG_ACTIONS.get(localName);
  if (ta != null) {
    ta.beforeEnd(this, localName);
  }
  try {
    if (inIgnorableElement == 0) {
      if (outputHighlightOnly) {
        // boolean highlight = contentBitSet
        // .get(characterElementIdx);
        // if (!highlight) {
        // return;
        // }
      }
      if (tagWhitelist != null
          && !tagWhitelist.containsKey(qName)) {
        // skip
        return;
      }
      html.append("</");
      html.append(qName);
      html.append('>');
    }
  } finally {
    if (ta != null) {
      ta.afterEnd(this, localName);
    }
  }
}
origin: pvdlg/boilerpipe

public void endElement(String uri, String localName, String qName)
    throws SAXException {
  TagAction ta = TAG_ACTIONS.get(localName);
  if (ta != null) {
    ta.beforeEnd(this, localName);
  }
  try {
    if (inIgnorableElement == 0) {
      if (outputHighlightOnly) {
        // boolean highlight = contentBitSet
        // .get(characterElementIdx);
        // if (!highlight) {
        // return;
        // }
      }
      if (tagWhitelist != null
          && !tagWhitelist.containsKey(qName)) {
        // skip
        return;
      }
      html.append("</");
      html.append(qName);
      html.append('>');
    }
  } finally {
    if (ta != null) {
      ta.afterEnd(this, localName);
    }
  }
}
origin: Netbreeze-GmbH/boilerpipe

public void endElement(String uri, String localName, String qName)
    throws SAXException {
  TagAction ta = TAG_ACTIONS.get(localName);
  if (ta != null) {
    ta.beforeEnd(this, localName);
  }
  try {
    if (inIgnorableElement == 0) {
      if (outputHighlightOnly) {
        // boolean highlight = contentBitSet
        // .get(characterElementIdx);
        // if (!highlight) {
        // return;
        // }
      }
      if (tagWhitelist != null
          && !tagWhitelist.containsKey(qName)) {
        // skip
        return;
      }
      html.append("</");
      html.append(qName);
      html.append('>');
    }
  } finally {
    if (ta != null) {
      ta.afterEnd(this, localName);
    }
  }
}
de.l3s.boilerpipe.saxHTMLHighlighter$TagActionafterEnd

Popular methods of HTMLHighlighter$TagAction

  • afterStart
  • beforeEnd
  • beforeStart

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now