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