|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.calendar.service.XMLUtils
public final class XMLUtils
This class provides utils features to manipulate and convert XML calendar information
| Field Summary | |
|---|---|
static String |
STYLE_CLASS_EMPTY_DAY
|
static String |
STYLE_CLASS_SMALLMONTH_DAY
|
static String |
STYLE_CLASS_SUFFIX_OFF
|
static String |
STYLE_CLASS_SUFFIX_OLD
|
static String |
STYLE_CLASS_SUFFIX_TODAY
|
static String |
STYLE_CLASS_VIEW_MONTH_DAY
|
static String |
STYLE_CLASS_VIEW_WEEK_DAY
|
| Method Summary | |
|---|---|
static String |
getAgendaXml(String strAgenda,
javax.servlet.http.HttpServletRequest request)
Returns the Xml code of a calendar events |
static String |
getRssXml(CalendarFilter filter)
Returns the Xml code for RSS |
static String |
getXml(List<Event> listEvents)
Returns the Xml code of the Calendar portlet without XML heading |
static String |
getXMLPortletCalendar(Locale local,
Calendar cal,
javax.servlet.http.HttpServletRequest request)
Get the XML of a calendar |
static byte[] |
transformXMLToXSL(String strXml,
InputStream baSource,
Map<String,String> params,
Properties outputProperties)
This method performs XSL Transformation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String STYLE_CLASS_VIEW_MONTH_DAY
public static final String STYLE_CLASS_VIEW_WEEK_DAY
public static final String STYLE_CLASS_SMALLMONTH_DAY
public static final String STYLE_CLASS_SUFFIX_OLD
public static final String STYLE_CLASS_SUFFIX_TODAY
public static final String STYLE_CLASS_SUFFIX_OFF
public static final String STYLE_CLASS_EMPTY_DAY
| Method Detail |
|---|
public static String getAgendaXml(String strAgenda,
javax.servlet.http.HttpServletRequest request)
strAgenda - The id of the agendarequest - request servlet request
public static String getRssXml(CalendarFilter filter)
filter - The filter
public static String getXml(List<Event> listEvents)
listEvents - The list of events
public static byte[] transformXMLToXSL(String strXml,
InputStream baSource,
Map<String,String> params,
Properties outputProperties)
throws Exception
strXml - The input XML documentbaSource - The source input streamparams - parameters to apply to the XSL StylesheetoutputProperties - properties to use for the xsl transform. Will
overload the xsl output definition.
Exception - The exception
public static String getXMLPortletCalendar(Locale local,
Calendar cal,
javax.servlet.http.HttpServletRequest request)
local - The localecal - The calendarrequest - The request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||