Package nbbrd.io.xml
Interface Xml.Parser<T>
- All Superinterfaces:
nbbrd.io.FileParser<T>,nbbrd.io.text.TextParser<T>
- All Known Implementing Classes:
Sax.Parser,Stax.EventParser,Stax.StreamParser
- Enclosing class:
Xml
public static interface Xml.Parser<T>
extends nbbrd.io.FileParser<T>, nbbrd.io.text.TextParser<T>
-
Method Summary
Methods inherited from interface nbbrd.io.FileParser
parsePath, parseResource, parseStream, parseStreamMethods inherited from interface nbbrd.io.text.TextParser
asFileParser, asParser, asParser, parseChars, parsePath, parseProcess, parseProcess, parseProcess, parseReader, parseReader, parseResource, parseStream, parseStream
-
Method Details
-
isIgnoreXXE
boolean isIgnoreXXE() -
parseFile
- Specified by:
parseFilein interfacenbbrd.io.FileParser<T>- Throws:
IOException
-
parseFile
@NonNull default T parseFile(@NonNull @NonNull File source, @NonNull @NonNull Charset encoding) throws IOException - Specified by:
parseFilein interfacenbbrd.io.text.TextParser<T>- Throws:
IOException
-
andThen
@NonNull default <V> @NonNull Xml.Parser<V> andThen(@NonNull @NonNull nbbrd.io.function.IOFunction<? super T, ? extends V> after)
-