Tabnine Logo
TagActionMap.setTagAction
Code IndexAdd Tabnine to your IDE (free)

How to use
setTagAction
method
in
de.l3s.boilerpipe.sax.TagActionMap

Best Java code snippets using de.l3s.boilerpipe.sax.TagActionMap.setTagAction (Showing top 4 results out of 315)

origin: de.l3s.boilerpipe/boilerpipe

  protected void addTagAction(final String tag, final TagAction action) {
    TagAction previousAction = get(tag);
    if(previousAction == null) {
      setTagAction(tag, action);
    } else {
      setTagAction(tag, new CommonTagActions.Chained(previousAction, action));
    }
  }
}
origin: com.syncthemall/boilerpipe

  /**
   * Adds a particular {@link TagAction} for a given tag. If a TagAction already exists for that tag,
   * a chained action, consisting of the previous and the new {@link TagAction} is created.
   * 
   * @param tag The tag (will be stored internally 1. as it is, 2. lower-case, 3. upper-case)
   * @param action The {@link TagAction}
   */
  protected void addTagAction(final String tag, final TagAction action) {
    TagAction previousAction = get(tag);
    if(previousAction == null) {
      setTagAction(tag, action);
    } else {
      setTagAction(tag, new CommonTagActions.Chained(previousAction, action));
    }
  }
}
origin: pvdlg/boilerpipe

  /**
   * Adds a particular {@link TagAction} for a given tag. If a TagAction already exists for that tag,
   * a chained action, consisting of the previous and the new {@link TagAction} is created.
   * 
   * @param tag The tag (will be stored internally 1. as it is, 2. lower-case, 3. upper-case)
   * @param action The {@link TagAction}
   */
  protected void addTagAction(final String tag, final TagAction action) {
    TagAction previousAction = get(tag);
    if(previousAction == null) {
      setTagAction(tag, action);
    } else {
      setTagAction(tag, new CommonTagActions.Chained(previousAction, action));
    }
  }
}
origin: Netbreeze-GmbH/boilerpipe

  /**
   * Adds a particular {@link TagAction} for a given tag. If a TagAction already exists for that tag,
   * a chained action, consisting of the previous and the new {@link TagAction} is created.
   * 
   * @param tag The tag (will be stored internally 1. as it is, 2. lower-case, 3. upper-case)
   * @param action The {@link TagAction}
   */
  protected void addTagAction(final String tag, final TagAction action) {
    TagAction previousAction = get(tag);
    if(previousAction == null) {
      setTagAction(tag, action);
    } else {
      setTagAction(tag, new CommonTagActions.Chained(previousAction, action));
    }
  }
}
de.l3s.boilerpipe.saxTagActionMapsetTagAction

Javadoc

Sets a particular TagAction for a given tag. Any existing TagAction for that tag will be removed and overwritten.

Popular methods of TagActionMap

  • get
  • put

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • JFrame (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best IntelliJ 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