jd.xml.xpath.model.visit
Class Serializer

java.lang.Object
  extended byjd.xml.xpath.model.visit.Serializer
All Implemented Interfaces:
NodeVisitor

public class Serializer
extends Object
implements NodeVisitor


Constructor Summary
Serializer(XmlWriter out)
           
 
Method Summary
 void attribute(XPathNode node)
           
 void comment(XPathNode node)
           
 void element(XPathNode node)
           
 void namespace(XPathNode node)
           
 void processingInstruction(XPathNode node)
           
 void root(XPathRootNode root)
           
 void text(XPathNode node)
           
 void write(XPathNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serializer

public Serializer(XmlWriter out)
Method Detail

write

public void write(XPathNode node)

root

public void root(XPathRootNode root)
Specified by:
root in interface NodeVisitor

element

public void element(XPathNode node)
Specified by:
element in interface NodeVisitor

text

public void text(XPathNode node)
Specified by:
text in interface NodeVisitor

processingInstruction

public void processingInstruction(XPathNode node)
Specified by:
processingInstruction in interface NodeVisitor

comment

public void comment(XPathNode node)
Specified by:
comment in interface NodeVisitor

attribute

public void attribute(XPathNode node)
Specified by:
attribute in interface NodeVisitor

namespace

public void namespace(XPathNode node)
Specified by:
namespace in interface NodeVisitor