fr.paris.lutece.plugins.document.modules.rest.service.formatters
Class DocumentFormatterXml

java.lang.Object
  extended by fr.paris.lutece.plugins.document.modules.rest.service.formatters.DocumentFormatterXml
All Implemented Interfaces:
fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.Document>

public class DocumentFormatterXml
extends Object
implements fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.Document>

DocumentFormatterXml


Constructor Summary
DocumentFormatterXml()
           
 
Method Summary
 String format(fr.paris.lutece.plugins.document.business.Document document)
          
 String format(List<fr.paris.lutece.plugins.document.business.Document> listResources)
          
 String formatError(String strCode, String strMessage)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentFormatterXml

public DocumentFormatterXml()
Method Detail

format

public String format(fr.paris.lutece.plugins.document.business.Document document)

Specified by:
format in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.Document>

format

public String format(List<fr.paris.lutece.plugins.document.business.Document> listResources)

Specified by:
format in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.Document>

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.Document>


Copyright © 2014 Mairie de Paris. All Rights Reserved.