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

void org::apache::uima::cas::impl::XmiCasSerializer::XmiCasDocSerializer::enqueueFSArrayElements ( int  addr ) throws SAXException [inline, private]

Enqueues all FS reachable from an FSArray.

Parameters:
addrAddress of an FSArray

Definition at line 647 of file XmiCasSerializer.java.

                                                                      {
      final int size = cas.ll_getArraySize(addr);
      int pos = cas.getArrayStartAddress(addr);
      int val;
      for (int i = 0; i < size; i++) {
        val = cas.getHeapValue(pos);
        if (val != CASImpl.NULL) {
          enqueue(val);
        }
        ++pos;
      }
    }

Generated by  Doxygen 1.6.0   Back to index