Class LexicalProcessorRegistry
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.lex.LexicalProcessorRegistry
-
public class LexicalProcessorRegistry extends Object
- Author:
- mederly
-
-
Constructor Summary
Constructors Constructor Description LexicalProcessorRegistry(SchemaRegistry schemaRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
detectLanguage(File file)
DomLexicalProcessor
domProcessor()
LexicalProcessor<?>
findProcessor(ParserSource source)
<T> LexicalProcessor<T>
processorFor(String language)
-
-
-
Constructor Detail
-
LexicalProcessorRegistry
public LexicalProcessorRegistry(@NotNull SchemaRegistry schemaRegistry)
-
-
Method Detail
-
detectLanguage
@NotNull public String detectLanguage(File file) throws IOException
- Throws:
IOException
-
domProcessor
@NotNull public DomLexicalProcessor domProcessor()
-
processorFor
@NotNull public <T> LexicalProcessor<T> processorFor(String language)
-
findProcessor
@NotNull public LexicalProcessor<?> findProcessor(@NotNull ParserSource source) throws IOException
- Throws:
IOException
-
-