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); }
internal FIWriterVocabulary() { // internal vocabulary constructor _encodingAlgorithmManager = new FIEncodingAlgorithmManager(); _restrictedAlphabetManager = new FIRestrictedAlphabetManager(); Init(); }
internal FIReaderVocabulary(FIEncodingAlgorithmManager encodingAlgorithmManager, FIRestrictedAlphabetManager restrictedAlphabetManager) { // external vocabulary constructor _encodingAlgorithmManager = encodingAlgorithmManager; _restrictedAlphabetManager = restrictedAlphabetManager; Init(); }
internal FIWriterVocabulary(Uri uri, FIEncodingAlgorithmManager encodingAlgorithmManager, FIRestrictedAlphabetManager restrictedAlphabetManager) { if (uri != null) _uri = uri.ToString(); // external vocabulary constructor _encodingAlgorithmManager = encodingAlgorithmManager; _restrictedAlphabetManager = restrictedAlphabetManager; Init(); }