예제 #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);
 }
예제 #2
0
		internal FIWriterVocabulary()
		{
			// internal vocabulary constructor
			_encodingAlgorithmManager = new FIEncodingAlgorithmManager();
			_restrictedAlphabetManager = new FIRestrictedAlphabetManager();

			Init();
		}
예제 #3
0
        internal FIReaderVocabulary(FIEncodingAlgorithmManager encodingAlgorithmManager, FIRestrictedAlphabetManager restrictedAlphabetManager)
        {
            // external vocabulary constructor
            _encodingAlgorithmManager  = encodingAlgorithmManager;
            _restrictedAlphabetManager = restrictedAlphabetManager;

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

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

			Init();
		}