Package org.jibx.extras
Class DiscardListMapper
- java.lang.Object
-
- org.jibx.extras.DiscardListMapper
-
- All Implemented Interfaces:
org.jibx.runtime.IMarshaller,org.jibx.runtime.IUnmarshaller
public class DiscardListMapper extends Object implements org.jibx.runtime.IMarshaller, org.jibx.runtime.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
-
-
Constructor Summary
Constructors Constructor Description DiscardListMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisExtension(String mapname)booleanisPresent(org.jibx.runtime.IUnmarshallingContext ctx)voidmarshal(Object obj, org.jibx.runtime.IMarshallingContext ictx)Objectunmarshal(Object obj, org.jibx.runtime.IUnmarshallingContext ictx)
-
-
-
Method Detail
-
isExtension
public boolean isExtension(String mapname)
- Specified by:
isExtensionin interfaceorg.jibx.runtime.IMarshaller
-
marshal
public void marshal(Object obj, org.jibx.runtime.IMarshallingContext ictx)
- Specified by:
marshalin interfaceorg.jibx.runtime.IMarshaller
-
isPresent
public boolean isPresent(org.jibx.runtime.IUnmarshallingContext ctx) throws org.jibx.runtime.JiBXException- Specified by:
isPresentin interfaceorg.jibx.runtime.IUnmarshaller- Throws:
org.jibx.runtime.JiBXException
-
-