Ejemplo 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);
 }
Ejemplo n.º 2
0
		internal FIWriterVocabulary()
		{
			// internal vocabulary constructor
			_encodingAlgorithmManager = new FIEncodingAlgorithmManager();
			_restrictedAlphabetManager = new FIRestrictedAlphabetManager();

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

            Init();
        }
Ejemplo 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();
		}