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

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

public class AttributeFormatterXml
extends Object
implements fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute>

AttributeFormatterXml


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

AttributeFormatterXml

public AttributeFormatterXml()
Method Detail

format

public String format(fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute resource)

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

format

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

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.