Package com.aspectran.utils.apon
Class XmlToApon
java.lang.Object
com.aspectran.utils.apon.XmlToApon
Converts XML to APON.
- Since:
- 6.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Parameters
static <T extends Parameters>
Tstatic <T extends Parameters>
Tfrom
(File file, Class<T> requiredType, EntityResolver entityResolver) static <T extends Parameters>
Tstatic <T extends Parameters>
Tfrom
(File file, T container, EntityResolver entityResolver) static Parameters
from
(InputStream in) static <T extends Parameters>
Tfrom
(InputStream in, Class<T> requiredType) static <T extends Parameters>
Tfrom
(InputStream in, Class<T> requiredType, EntityResolver entityResolver) static <T extends Parameters>
Tfrom
(InputStream in, T container) static <T extends Parameters>
Tfrom
(InputStream in, T container, EntityResolver entityResolver) static Parameters
static <T extends Parameters>
Tstatic <T extends Parameters>
Tfrom
(Reader in, Class<T> requiredType, EntityResolver entityResolver) static <T extends Parameters>
Tstatic <T extends Parameters>
Tfrom
(Reader in, T container, EntityResolver entityResolver) static Parameters
static <T extends Parameters>
Tstatic <T extends Parameters>
Tstatic <T extends Parameters>
Tfrom
(InputSource is, T container) static <T extends Parameters>
Tfrom
(InputSource is, T container, EntityResolver entityResolver)
-
Constructor Details
-
XmlToApon
public XmlToApon()
-
-
Method Details
-
from
- Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(String xml, Class<T> requiredType) throws IOException - Throws:
IOException
-
from
- Throws:
IOException
-
from
- Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(Reader in, Class<T> requiredType) throws IOException - Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(Reader in, Class<T> requiredType, EntityResolver entityResolver) throws IOException - Throws:
IOException
-
from
- Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(Reader in, T container, EntityResolver entityResolver) throws IOException - Throws:
IOException
-
from
- Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(InputStream in, Class<T> requiredType) throws IOException - Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(InputStream in, Class<T> requiredType, EntityResolver entityResolver) throws IOException - Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(InputStream in, T container) throws IOException - Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(InputStream in, T container, EntityResolver entityResolver) throws IOException - Throws:
IOException
-
from
- Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(File file, Class<T> requiredType) throws IOException - Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(File file, Class<T> requiredType, EntityResolver entityResolver) throws IOException - Throws:
IOException
-
from
- Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(@NonNull File file, T container, EntityResolver entityResolver) throws IOException - Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(InputSource is, T container) throws IOException - Throws:
IOException
-
from
@NonNull public static <T extends Parameters> T from(InputSource is, T container, EntityResolver entityResolver) throws IOException - Throws:
IOException
-