org.apache.cocoon.webapps.session.xml
Class XMLUtil

java.lang.Object
  extended by org.apache.cocoon.webapps.session.xml.XMLUtil

Deprecated. This block is deprecated and will be removed in future versions.

public final class XMLUtil
extends Object

A utility class which will soon be removed...

Version:
CVS $Id: XMLUtil.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Constructor Summary
XMLUtil()
          Deprecated.  
 
Method Summary
static String decode(String value)
          Deprecated. Convert entities to umlaute
static String encode(String value)
          Deprecated. Convert umlaute to entities
static void writeDOM(String location, Parameters typeParameters, SourceParameters parameters, DocumentFragment frag, SourceResolver resolver, String serializerName)
          Deprecated. Write a DOM Fragment to a source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtil

public XMLUtil()
Deprecated. 
Method Detail

encode

public static String encode(String value)
Deprecated. 
Convert umlaute to entities


decode

public static String decode(String value)
Deprecated. 
Convert entities to umlaute


writeDOM

public static void writeDOM(String location,
                            Parameters typeParameters,
                            SourceParameters parameters,
                            DocumentFragment frag,
                            SourceResolver resolver,
                            String serializerName)
                     throws ProcessingException
Deprecated. 
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
typeParameters - Type of Source query. Currently, only method parameter (value typically GET or POST) is recognized. May be null.
parameters - Parameters (e.g. URL params) of the source. May be null
frag - DOM fragment to serialize to the Source
resolver - Resolver for the source.
serializerName - The serializer to use
Throws:
ProcessingException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.