Esempio n. 1
0
 internal FIVocabulary(Uri uri)
 {
     // create restricted encoding and alphabet managers and propogate into child vocabularies
     _encodingAlgorithmManager  = new FIEncodingAlgorithmManager();
     _restrictedAlphabetManager = new FIRestrictedAlphabetManager();
     _reader = new FIReaderVocabulary(_encodingAlgorithmManager, _restrictedAlphabetManager);
     _writer = new FIWriterVocabulary(uri, _encodingAlgorithmManager, _restrictedAlphabetManager);
 }
Esempio n. 2
0
		internal FIWriterVocabulary()
		{
			// internal vocabulary constructor
			_encodingAlgorithmManager = new FIEncodingAlgorithmManager();
			_restrictedAlphabetManager = new FIRestrictedAlphabetManager();

			Init();
		}
Esempio n. 3
0
        internal FIReaderVocabulary(FIEncodingAlgorithmManager encodingAlgorithmManager, FIRestrictedAlphabetManager restrictedAlphabetManager)
        {
            // external vocabulary constructor
            _encodingAlgorithmManager  = encodingAlgorithmManager;
            _restrictedAlphabetManager = restrictedAlphabetManager;

            Init();
        }
Esempio n. 4
0
		internal FIWriterVocabulary(Uri uri,
            FIEncodingAlgorithmManager encodingAlgorithmManager,
            FIRestrictedAlphabetManager restrictedAlphabetManager)
		{
			if (uri != null)
				_uri = uri.ToString();

			// external vocabulary constructor
			_encodingAlgorithmManager = encodingAlgorithmManager;
			_restrictedAlphabetManager = restrictedAlphabetManager;

			Init();
		}