@SuppressWarnings("javadoc") @Test public void testDefaultView() throws Exception { AnalysisEngine engine = AnalysisEngineFactory.createEngine(SofaAwareAnnotator.class, typeSystemDescription); engine.process(jCas); assertEquals("some", JCasUtil.selectByIndex(jCas, Token.class, 0).getCoveredText()); engine = AnalysisEngineFactory.createEngine(SofaUnawareAnnotator.class, typeSystemDescription); jCas.reset(); engine.process(jCas); assertEquals("some", JCasUtil.selectByIndex(jCas, Token.class, 0).getCoveredText()); }
@Override public void process(final JCas aJCas) throws AnalysisEngineProcessException { createViewSafely(aJCas, viewName); }
ViewCreatorAnnotator extends JCasAnnotator_ImplBase { @Override public void process(final JCas aJCas) throws AnalysisEngineProcessException { createViewSafely(aJCas, viewName); } }
ViewCreatorAnnotator extends JCasAnnotator_ImplBase { @Override public void process(final JCas aJCas) throws AnalysisEngineProcessException { createViewSafely(aJCas, viewName); }  }
ViewCreatorAnnotator extends JCasAnnotator_ImplBase { @Override public void process(final JCas aJCas) throws AnalysisEngineProcessException { createViewSafely(aJCas, viewName); }  @Override void process(final JCas aJCas); static JCas createViewSafely(final JCas aJCas, final String aViewName); }
ViewCreatorAnnotator extends JCasAnnotator_ImplBase { @Override public void process(final JCas aJCas) throws AnalysisEngineProcessException { createViewSafely(aJCas, viewName); }  @Override void process(final JCas aJCas); static JCas createViewSafely(final JCas aJCas, final String aViewName); static final String PARAM_VIEW_NAME; }