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

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

public class SpaceFormatterXml
extends Object
implements fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.spaces.DocumentSpace>

SpaceFormatterXml


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

SpaceFormatterXml

public SpaceFormatterXml()
Method Detail

format

public String format(fr.paris.lutece.plugins.document.business.spaces.DocumentSpace resource)

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

format

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

Specified by:
format in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.spaces.DocumentSpace>
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.spaces.DocumentSpace>


Copyright © 2014 Mairie de Paris. All Rights Reserved.