Package nbbrd.io.xml
Interface Xml.Parser<T>
- All Superinterfaces:
FileParser<T>,TextParser<T>
- All Known Implementing Classes:
Sax.Parser,Stax.EventParser,Stax.StreamParser
- Enclosing class:
Xml
-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> @NonNull Xml.Parser<V> andThen(@NonNull IOFunction<? super T, ? extends V> after) booleandefault Tdefault TMethods 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 interfaceFileParser<T>- Throws:
IOException
-
parseFile
@NonNull default T parseFile(@NonNull @NonNull File source, @NonNull @NonNull Charset encoding) throws IOException - Specified by:
parseFilein interfaceTextParser<T>- Throws:
IOException
-
andThen
@NonNull default <V> @NonNull Xml.Parser<V> andThen(@NonNull @NonNull IOFunction<? super T, ? extends V> after) - Specified by:
andThenin interfaceFileParser<T>- Specified by:
andThenin interfaceTextParser<T>
-