fr.paris.lutece.plugins.rest.util.xml
Class XMLUtil

java.lang.Object
  extended by fr.paris.lutece.plugins.rest.util.xml.XMLUtil

public final class XMLUtil
extends java.lang.Object

Xml Response Util


Method Summary
static java.lang.String formatError(java.lang.String strMessage, int nCode)
          Format an error response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

formatError

public static java.lang.String formatError(java.lang.String strMessage,
                                           int nCode)
Format an error response

Parameters:
strMessage - The message
nCode - The error code
Returns:
An XML response


Copyright © 2011 Mairie de Paris. All Rights Reserved.