org.oXML.extras.java.function
Class Converter

java.lang.Object
  extended byorg.oXML.extras.java.function.Converter

public class Converter
extends java.lang.Object


Constructor Summary
Converter()
           
 
Method Summary
protected  void addKids(Node parent, org.w3c.dom.Node dom)
           
 org.w3c.dom.DocumentFragment fromNative(Node node)
           
protected  void output(ResultDirector dir, Node node)
           
 CommentNode toComment(org.w3c.dom.Node dom)
           
 Node toComment(java.lang.String data)
           
 DocumentNode toDocument(org.w3c.dom.Document dom)
           
 ElementNode toElement(org.w3c.dom.Element dom)
           
 Node toNative(org.w3c.dom.Node dom)
           
 ProcessingInstructionNode toProcessingInstruction(org.w3c.dom.ProcessingInstruction dom)
           
 StringNode toString(org.w3c.dom.Node dom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Converter

public Converter()
Method Detail

fromNative

public org.w3c.dom.DocumentFragment fromNative(Node node)
                                        throws ObjectBoxException
Throws:
ObjectBoxException

output

protected void output(ResultDirector dir,
                      Node node)
               throws ObjectBoxException
Throws:
ObjectBoxException

toNative

public Node toNative(org.w3c.dom.Node dom)

addKids

protected void addKids(Node parent,
                       org.w3c.dom.Node dom)

toDocument

public DocumentNode toDocument(org.w3c.dom.Document dom)

toElement

public ElementNode toElement(org.w3c.dom.Element dom)

toString

public StringNode toString(org.w3c.dom.Node dom)

toComment

public CommentNode toComment(org.w3c.dom.Node dom)

toProcessingInstruction

public ProcessingInstructionNode toProcessingInstruction(org.w3c.dom.ProcessingInstruction dom)

toComment

public Node toComment(java.lang.String data)