@Contract public interface XmlServiceParser
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PARSING_SERVICE
The default Xml parsing service will have this name
|
Modifier and Type | Method and Description |
---|---|
PreGenerationRequirement |
getPreGenerationRequirement()
This tells the system whether or not it needs to pregenerate all proxies
prior to parsing a document or if the proxies can be generated lazily
|
<T> T |
parseRoot(Class<T> clazz,
URI location,
Unmarshaller.Listener listener)
This method must return an instance of the given class as the root of
an XML graph
|
static final String DEFAULT_PARSING_SERVICE
<T> T parseRoot(Class<T> clazz, URI location, Unmarshaller.Listener listener) throws Exception
clazz
- The class that can be used to set and get values. This class
will extend BaseHK2JAXBBean
location
- The location of the file to parselistener
- A listener that must be called via the contract of Unmarshaller.ListenerException
PreGenerationRequirement getPreGenerationRequirement()
Copyright © 2009–2018 Oracle Corporation. All rights reserved.