public abstract String toXMLString(boolean includeNSPrefix,boolean declareNS) throws SAML2Exception ;

public abstract String toXMLString ( boolean includeNSPrefix , boolean declareNS ) throws SAML2Exception ;
returns a string representation
