fi.hut.tml.xsmiles.xml.serializer
Class URLSerializer

java.lang.Object
  extended byfi.hut.tml.xsmiles.xml.serializer.URLSerializer
All Implemented Interfaces:
Serializer

public class URLSerializer
extends java.lang.Object
implements Serializer

the class for serializing the XForms instance as URL encoded for get


Constructor Summary
URLSerializer(java.lang.String a_separator)
           
 
Method Summary
protected static java.lang.String createURLFromElement(org.w3c.dom.Element e)
           
static java.lang.String getTextIfOneChild(org.w3c.dom.Element e)
           
 void serialize(org.w3c.dom.Node root, java.io.Writer wr)
          serialize this node and its ancestors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLSerializer

public URLSerializer(java.lang.String a_separator)
Method Detail

serialize

public void serialize(org.w3c.dom.Node root,
                      java.io.Writer wr)
serialize this node and its ancestors


getTextIfOneChild

public static java.lang.String getTextIfOneChild(org.w3c.dom.Element e)

createURLFromElement

protected static java.lang.String createURLFromElement(org.w3c.dom.Element e)


X-Smiles 1.2