- Javax.xml.bind classes
- Home
- Binder
- DatatypeConverter
- JAXB
- JAXBContext
- JAXBElement
- JAXBElement.GlobalScope
- JAXBIntrospector
- Marshaller.Listener
- SchemaOutputResolver
- Unmarshaller.Listener
- Javax.xml.bind.util classes
- JAXBResult
- JAXBSource
- ValidationEventCollector
- Javax.xml.parsers classes
- DocumentBuilder
- DocumentBuilderFactory
- SAXParser
- SAXParserFactory
- Javax.xml.soap classes
- AttachmentPart
- MessageFactory
- MimeHeader
- MimeHeaders
- SAAJMetaFactory
- SOAPConnection
- SOAPConnectionFactory
- SOAPFactory
- SOAPMessage
- SOAPPart
- Javax.xml.validation classes
- Schema
- SchemaFactory
- TypeInfoProvider
- Validator
- ValidatorHandler
- Javax.xml.xpath classes
- XPathConstants
- XPathFactory
- Java Useful Resources
- Java - Quick Guide
- Java - Useful Resources
Javax.xml.bind.Marshaller.Listener Class
Introduction
The javax.xml.bind.Marshaller.Listener class registers an instance of an implementation of this class with a Marshaller to externally listen for marshal events.This class enables pre and post processing of each marshalled object.
Class declaration
Following is the declaration for javax.xml.bind.Marshaller.Listener class:
public abstract static class Marshaller.Listener extends Object
Class constructors
S.N. | Constructor & Description |
---|---|
1 | Marshaller.Listener()
Single Constructor. |
Class methods
S.N. | Method & Description |
---|---|
1 | void afterMarshal(Object source)
This is the callback method invoked after marshalling source to XML. |
2 | void beforeMarshal(Object source)
This is the callback method invoked before marshalling from source to XML. |
Methods inherited
This class inherits methods from the following classes −
java.lang.Object
Advertisements