nl.surfnet.coin.selfservice.util
Class XStreamFedConfigBuilder

java.lang.Object
  extended by nl.surfnet.coin.selfservice.util.XStreamFedConfigBuilder

public final class XStreamFedConfigBuilder
extends Object

Utility class for the XStream configuration needed to handle FederatieConfig


Method Summary
static com.thoughtworks.xstream.XStream getXStreamForFedConfig()
          Creates and returns an XStream configuration for the SURFfederatie config file.
static com.thoughtworks.xstream.XStream getXStreamForFedConfig(boolean indentOutput)
          Creates and returns an XStream configuration for the SURFfederatie config file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getXStreamForFedConfig

public static com.thoughtworks.xstream.XStream getXStreamForFedConfig()
Creates and returns an XStream configuration for the SURFfederatie config file. Output will not be indented.

Returns:
XStream

getXStreamForFedConfig

public static com.thoughtworks.xstream.XStream getXStreamForFedConfig(boolean indentOutput)
Creates and returns an XStream configuration for the SURFfederatie config file

Parameters:
indentOutput - if set to true the printed XML is nicely indented for the human reader
Returns:
XStream


Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.