fr.paris.lutece.plugins.document.modules.rest.service.formatters
Class TypeFormatterXml
java.lang.Object
fr.paris.lutece.plugins.document.modules.rest.service.formatters.TypeFormatterXml
- All Implemented Interfaces:
- fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.DocumentType>
public class TypeFormatterXml
- extends Object
- implements fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.DocumentType>
TypeFormatterXml
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeFormatterXml
public TypeFormatterXml()
format
public String format(fr.paris.lutece.plugins.document.business.DocumentType resource)
-
- Specified by:
format in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.DocumentType>
format
public String format(List<fr.paris.lutece.plugins.document.business.DocumentType> listResources)
- Format DocumentType
- Specified by:
format in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.DocumentType>
- Parameters:
listResources - resources listreferenceItem - referenceItem
formatError
public String formatError(String strCode,
String strMessage)
-
- Specified by:
formatError in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.DocumentType>
Copyright © 2014 Mairie de Paris. All Rights Reserved.