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

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

public class XMLUtil
extends java.lang.Object

Xml Response Util


Constructor Summary
XMLUtil()
           
 
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
 

Constructor Detail

XMLUtil

public XMLUtil()
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.