private void readResourceExtendedAttributes ( Project . Resources . Resource xml , Resource mpx ) { for ( Project . Resources . Resource . ExtendedAttribute attrib : xml . getExtendedAttribute ( ) ) { int xmlFieldID = Integer . parseInt ( attrib . getFieldID ( ) ) & 0x0000FFFF ; ResourceField mpxFieldID = MPPResourceField . getInstance ( xmlFieldID ) ; TimeUnit durationFormat = DatatypeConverter . parseDurationTimeUnits ( attrib . getDurationFormat ( ) , null ) ; DatatypeConverter . parseExtendedAttribute ( m_projectFile , mpx , attrib . getValue ( ) , mpxFieldID , durationFormat ) ; } }
This method processes any extended attributes associated with a resource .