Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

boolean org::apache::uima::analysis_engine::impl::ResultSpecification_impl::containsType ( String  aTypeName,
String  language 
) [inline]
See also:
org.apache.uima.analysis_engine.ResultSpecification::containsType(java.lang.String,java.lang.String)

Implements org::apache::uima::analysis_engine::ResultSpecification.

Definition at line 648 of file ResultSpecification_impl.java.

References org::apache::uima::cas::TypeSystem::FEATURE_SEPARATOR, and languageMatches().

                                                                 {
    language = Language.normalize(language);

    if (aTypeName.indexOf(TypeSystem.FEATURE_SEPARATOR) != -1)
      return false; // check against someone passing a feature name here
    
    compileIfNeeded();
    return languageMatches(availName2tof_langs().get(aTypeName), language);
  }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index