Package nbbrd.io.xml.bind
Class Jaxb.Parser<T>
java.lang.Object
nbbrd.io.xml.bind.Jaxb.Parser<T>
- All Implemented Interfaces:
nbbrd.io.FileParser<T>,nbbrd.io.text.TextParser<T>,Xml.Parser<T>
- Enclosing class:
- Jaxb
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @NonNull Jaxb.Parser<T>static <T> @NonNull Jaxb.Parser<T>of(@NonNull JAXBContext context) @NonNull T@NonNull T@NonNull TparseReader(@NonNull Reader resource) @NonNull TparseStream(@NonNull InputStream resource) @NonNull TparseStream(@NonNull InputStream resource, @NonNull Charset encoding) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nbbrd.io.FileParser
parsePath, parseResource, parseStreamMethods inherited from interface nbbrd.io.text.TextParser
parseChars, parsePath, parseReader, parseResource, parseStream, withCharsetMethods inherited from interface nbbrd.io.xml.Xml.Parser
andThen, isIgnoreXXE
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
of
-
of
-
parseFile
- Specified by:
parseFilein interfacenbbrd.io.FileParser<T>- Throws:
IOException
-
parseFile
- Specified by:
parseFilein interfacenbbrd.io.text.TextParser<T>- Throws:
IOException
-
parseReader
- Specified by:
parseReaderin interfacenbbrd.io.text.TextParser<T>- Throws:
IOException
-
parseStream
- Specified by:
parseStreamin interfacenbbrd.io.FileParser<T>- Throws:
IOException
-
parseStream
public @NonNull T parseStream(@NonNull InputStream resource, @NonNull Charset encoding) throws IOException - Specified by:
parseStreamin interfacenbbrd.io.text.TextParser<T>- Throws:
IOException
-