Package org.appng.appngizer.controller
Class Jaxb2Marshaller
- java.lang.Object
-
- org.springframework.oxm.jaxb.Jaxb2Marshaller
-
- org.appng.appngizer.controller.Jaxb2Marshaller
-
- All Implemented Interfaces:
com.sun.xml.bind.marshaller.CharacterEscapeHandler
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.InitializingBean
,org.springframework.oxm.GenericMarshaller
,org.springframework.oxm.GenericUnmarshaller
,org.springframework.oxm.Marshaller
,org.springframework.oxm.mime.MimeMarshaller
,org.springframework.oxm.mime.MimeUnmarshaller
,org.springframework.oxm.Unmarshaller
public class Jaxb2Marshaller extends org.springframework.oxm.jaxb.Jaxb2Marshaller implements com.sun.xml.bind.marshaller.CharacterEscapeHandler
-
-
Constructor Summary
Constructors Constructor Description Jaxb2Marshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
escape(char[] buf, int start, int len, boolean isAttValue, Writer out)
protected void
initJaxbMarshaller(Marshaller marshaller)
boolean
supports(Class<?> clazz)
-
Methods inherited from class org.springframework.oxm.jaxb.Jaxb2Marshaller
afterPropertiesSet, convertJaxbException, createMarshaller, createUnmarshaller, getClassesToBeBound, getContextPath, getJaxbContext, getPackagesToScan, initJaxbUnmarshaller, isProcessExternalEntities, isSupportDtd, marshal, marshal, setAdapters, setBeanClassLoader, setCheckForXmlRootElement, setClassesToBeBound, setContextPath, setContextPaths, setJaxbContextProperties, setLazyInit, setMappedClass, setMarshallerListener, setMarshallerProperties, setMtomEnabled, setPackagesToScan, setProcessExternalEntities, setSchema, setSchemaLanguage, setSchemaResourceResolver, setSchemas, setSupportDtd, setSupportJaxbElementClass, setUnmarshallerListener, setUnmarshallerProperties, setValidationEventHandler, supports, unmarshal, unmarshal, unmarshalStaxSource
-
-
-
-
Method Detail
-
supports
public boolean supports(Class<?> clazz)
- Specified by:
supports
in interfaceorg.springframework.oxm.Marshaller
- Specified by:
supports
in interfaceorg.springframework.oxm.Unmarshaller
- Overrides:
supports
in classorg.springframework.oxm.jaxb.Jaxb2Marshaller
-
initJaxbMarshaller
protected void initJaxbMarshaller(Marshaller marshaller) throws JAXBException
- Overrides:
initJaxbMarshaller
in classorg.springframework.oxm.jaxb.Jaxb2Marshaller
- Throws:
JAXBException
-
escape
public void escape(char[] buf, int start, int len, boolean isAttValue, Writer out) throws IOException
- Specified by:
escape
in interfacecom.sun.xml.bind.marshaller.CharacterEscapeHandler
- Throws:
IOException
-
-