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

Type org::apache::uima::cas::impl::TypeSystemImpl::getType ( String  typeName ) [inline]

Get a type object for a given name.

Parameters:
typeNameThe name of the type.
Returns:
A type object, or null if no such type exists.

Implements org::apache::uima::cas::TypeSystem.

Definition at line 504 of file TypeSystemImpl.java.

References ll_getCodeForTypeName().

Referenced by addType(), org::apache::uima::cas::impl::XmiCasSerializer::XmiCasDocSerializer::enqueue(), org::apache::uima::cas::impl::XmiCasSerializer::XmiCasDocSerializer::enqueueIndexedFs(), org::apache::uima::cas::impl::FeatureStructureImpl::getBooleanValue(), org::apache::uima::cas::impl::FeatureStructureImpl::getByteValue(), org::apache::uima::cas::impl::FeatureStructureImpl::getDoubleValue(), org::apache::uima::cas::impl::FeatureStructureImpl::getFloatValue(), org::apache::uima::cas::impl::FeatureStructureImpl::getIntValue(), org::apache::uima::cas::impl::FeatureStructureImpl::getLongValue(), org::apache::uima::cas::impl::FeatureStructureImpl::getShortValue(), org::apache::uima::cas::impl::TypeNameSpaceImpl::getType(), org::apache::uima::cas::impl::XmiCasSerializer::XmiCasDocSerializer::getXmiId(), org::apache::uima::cas::impl::FeatureStructureImpl::setBooleanValue(), org::apache::uima::cas::impl::FeatureStructureImpl::setByteValue(), org::apache::uima::cas::impl::FeatureStructureImpl::setDoubleValue(), org::apache::uima::cas::impl::FeatureStructureImpl::setFloatValue(), org::apache::uima::cas::impl::FeatureStructureImpl::setIntValue(), org::apache::uima::cas::impl::FeatureStructureImpl::setLongValue(), and org::apache::uima::cas::impl::FeatureStructureImpl::setShortValue().

                                       {
    final int typeCode = ll_getCodeForTypeName(typeName);
    if (typeCode < LEAST_TYPE_CODE) {
      return null;
    }
    return this.types.get(typeCode);
  }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index