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

java.lang.Object
  extended by 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


Constructor Summary
TypeFormatterXml()
           
 
Method Summary
 String format(fr.paris.lutece.plugins.document.business.DocumentType resource)
          
 String format(List<fr.paris.lutece.plugins.document.business.DocumentType> listResources)
          Format DocumentType
 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

TypeFormatterXml

public TypeFormatterXml()
Method Detail

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 list
referenceItem - 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.