@Singleton @Named(value="PBufXmlParser") @Visibility(value=LOCAL) public class PBufParser extends Object implements XmlServiceParser
DEFAULT_PARSING_SERVICE, STREAM_PARSING_SERVICE| Constructor and Description |
|---|
PBufParser() |
| Modifier and Type | Method and Description |
|---|---|
PreGenerationRequirement |
getPreGenerationRequirement() |
<T> void |
marshal(OutputStream outputStream,
XmlRootHandle<T> root,
Map<String,Object> options) |
<T> T |
parseRoot(Model rootModel,
InputStream input,
Unmarshaller.Listener listener,
Map<String,Object> options) |
<T> T |
parseRoot(Model rootModel,
URI location,
Unmarshaller.Listener listener,
Map<String,Object> options) |
String |
toString() |
public <T> T parseRoot(Model rootModel, URI location, Unmarshaller.Listener listener, Map<String,Object> options) throws Exception
parseRoot in interface XmlServiceParserExceptionpublic <T> T parseRoot(Model rootModel, InputStream input, Unmarshaller.Listener listener, Map<String,Object> options) throws Exception
parseRoot in interface XmlServiceParserExceptionpublic PreGenerationRequirement getPreGenerationRequirement()
getPreGenerationRequirement in interface XmlServiceParserpublic <T> void marshal(OutputStream outputStream, XmlRootHandle<T> root, Map<String,Object> options) throws IOException
marshal in interface XmlServiceParserIOExceptionCopyright © 2009–2023 Oracle Corporation. All rights reserved.