T - The type to be readpublic interface IJAXBVersatileReader<T>
| Modifier and Type | Method and Description |
|---|---|
default T |
read(byte[] aXML)
Read a document from the specified byte array.
|
default T |
read(ByteBuffer aXML)
Read a document from the specified byte buffer.
|
default T |
read(char[] aXML)
Read a document from the specified char array.
|
default T |
read(File aFile)
Read a document from the specified file.
|
default T |
read(com.helger.commons.io.IHasInputStream aISP)
Read a document from the specified input stream provider.
|
default T |
read(InputSource aInputSource)
Read a document from the specified input source.
|
default T |
read(InputStream aIS)
Read a document from the specified input stream.
|
default T |
read(com.helger.commons.io.resource.IReadableResource aResource)
Read a document from the specified resource.
|
T |
read(Node aNode)
Read a document from the specified DOM node.
|
default T |
read(Path aPath)
Read a document from the specified Path.
|
default T |
read(Reader aReader)
Read a document from the specified reader.
|
default T |
read(com.helger.xml.serialize.read.SAXReaderSettings aSettings,
InputSource aInputSource)
Read a document from the specified input source using the specified SAX
reader settings.
|
T |
read(Source aSource)
Read a document from the specified source.
|
default T |
read(String sXML)
Read a document from the specified String.
|
@Nullable default T read(@Nonnull InputSource aInputSource)
aInputSource - The source to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull com.helger.xml.serialize.read.SAXReaderSettings aSettings, @Nonnull InputSource aInputSource)
aSettings - The SAX Settings to use.aInputSource - The source to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull InputStream aIS)
aIS - The input stream to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull Reader aReader)
aReader - The reader to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull File aFile)
aFile - The file to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull Path aPath)
aPath - The path to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull com.helger.commons.io.resource.IReadableResource aResource)
aResource - The resource to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull com.helger.commons.io.IHasInputStream aISP)
aISP - The input stream provider to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull byte[] aXML)
aXML - The XML bytes to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull ByteBuffer aXML)
aXML - The XML bytes to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull String sXML)
sXML - The XML string to read. May not be null.null in case reading fails.@Nullable default T read(@Nonnull char[] aXML)
aXML - The XML string to read. May not be null.null in case reading fails.@Nullable T read(@Nonnull Source aSource)
aSource - The source to read. May not be null.null in case reading fails.@Nullable T read(@Nonnull Node aNode)
aNode - The DOM node to read. May not be null.null in case reading fails.Copyright © 2020 toop.eu. All rights reserved.