| java.lang.Object org.apache.cocoon.webapps.session.xml.XMLUtil
XMLUtil | final public class XMLUtil (Code) | | A utility class which will soon be removed...
author: Carsten Ziegeler version: CVS $Id: XMLUtil.java 485224 2006-12-10 17:24:05Z cziegeler $ |
Method Summary | |
public static String | decode(String value) | public static String | encode(String value) | public static void | writeDOM(String location, Parameters typeParameters, SourceParameters parameters, DocumentFragment frag, SourceResolver resolver, String serializerName) Write a DOM Fragment to a source.
If the source is a ModifiableSource the interface is used.
If not, the source is invoked with an additional parameter named
"content" containing the XML.
Parameters: location - URI of the Source Parameters: typeParameters - Type of Source query. |
writeDOM | public static void writeDOM(String location, Parameters typeParameters, SourceParameters parameters, DocumentFragment frag, SourceResolver resolver, String serializerName) throws ProcessingException(Code) | | Write a DOM Fragment to a source.
If the source is a ModifiableSource the interface is used.
If not, the source is invoked with an additional parameter named
"content" containing the XML.
Parameters: location - URI of the Source Parameters: typeParameters - Type of Source query. Currently, onlymethod parameter (value typically GET orPOST ) is recognized. May be null . Parameters: parameters - Parameters (e.g. URL params) of the source.May be null Parameters: frag - DOM fragment to serialize to the Source Parameters: resolver - Resolver for the source. Parameters: serializerName - The serializer to use throws: ProcessingException - |
|
|