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 java.lang.Object
implements fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.Document>

DocumentFormatterXml


Constructor Summary
DocumentFormatterXml()
           
 
Method Summary
 java.lang.String format(fr.paris.lutece.plugins.document.business.Document document)
          
 java.lang.String format(java.util.List<fr.paris.lutece.plugins.document.business.Document> listResources)
          
 java.lang.String formatError(java.lang.String strCode, java.lang.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 java.lang.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 java.lang.String format(java.util.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 java.lang.String formatError(java.lang.String strCode,
                                    java.lang.String strMessage)

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.