@Test public void testStripAlternatives() { assertEquals("Some text is here", new NaveProcessor(null).stripAlternatives("Some text [with an alternative] is here")); }
String stripAlternatives(final String rootFullAlternatives) { return STRIP_ALTERNATIVES.matcher(rootFullAlternatives).replaceAll(" "); }
NaveProcessor implements PostProcessor { String stripAlternatives(final String rootFullAlternatives) { return STRIP_ALTERNATIVES.matcher(rootFullAlternatives).replaceAll(" "); } }
NaveProcessor implements PostProcessor { String stripAlternatives(final String rootFullAlternatives) { return STRIP_ALTERNATIVES.matcher(rootFullAlternatives).replaceAll(" "); } @Inject  NaveProcessor(final JSwordPassageService jswordPassage); }
NaveProcessor implements PostProcessor { String stripAlternatives(final String rootFullAlternatives) { return STRIP_ALTERNATIVES.matcher(rootFullAlternatives).replaceAll(" "); } @Inject  NaveProcessor(final JSwordPassageService jswordPassage); @Override void process(final EntityConfiguration config, final Document doc); }
NaveProcessor implements PostProcessor { String stripAlternatives(final String rootFullAlternatives) { return STRIP_ALTERNATIVES.matcher(rootFullAlternatives).replaceAll(" "); } @Inject  NaveProcessor(final JSwordPassageService jswordPassage); @Override void process(final EntityConfiguration config, final Document doc);  }