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

SpaceFormatterXml


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

SpaceFormatterXml

public SpaceFormatterXml()
Method Detail

format

public java.lang.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 java.lang.String format(java.util.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 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.spaces.DocumentSpace>


Copyright © 2011 Mairie de Paris. All Rights Reserved.