org.jibx.extras
Class DiscardListMapper
java.lang.Object
org.jibx.extras.DiscardListMapper
- All Implemented Interfaces:
- IMarshaller, IUnmarshaller
public class DiscardListMapper
- extends Object
- implements IMarshaller, IUnmarshaller
Custom marshaller/unmarshaller for arbitrary ignored content to end of
element. This ignores all content to the end of the enclosing element when
unmarshalling, and does nothing with marshalling.
- Author:
- Dennis M. Sosnoski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscardListMapper
public DiscardListMapper()
isExtension
public boolean isExtension(String mapname)
- Specified by:
isExtension in interface IMarshaller
marshal
public void marshal(Object obj,
IMarshallingContext ictx)
- Specified by:
marshal in interface IMarshaller
isPresent
public boolean isPresent(IUnmarshallingContext ctx)
throws JiBXException
- Specified by:
isPresent in interface IUnmarshaller
- Throws:
JiBXException
unmarshal
public Object unmarshal(Object obj,
IUnmarshallingContext ictx)
throws JiBXException
- Specified by:
unmarshal in interface IUnmarshaller
- Throws:
JiBXException
Copyright © 2005-2011 jibx.org. All Rights Reserved.