com.smallx.xml.infoset.util
Class XMLConstructor

java.lang.Object
  extended bycom.smallx.xml.infoset.util.XMLConstructor

public class XMLConstructor
extends java.lang.Object


Constructor Summary
XMLConstructor(ItemConstructor itemConstructor, ItemDestination dest)
           
 
Method Summary
 Element createElement(Name element)
           
 void createSimpleDocument(Name docElement, java.lang.String value)
           
 void createTextElement(Name element, java.lang.String value)
           
 void flush()
           
 void flushToElement(Element e)
           
 ItemConstructor getItemConstructor()
           
 ItemDestination getItemDestination()
           
 void send(Item item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConstructor

public XMLConstructor(ItemConstructor itemConstructor,
                      ItemDestination dest)
Method Detail

getItemConstructor

public ItemConstructor getItemConstructor()

getItemDestination

public ItemDestination getItemDestination()

createSimpleDocument

public void createSimpleDocument(Name docElement,
                                 java.lang.String value)
                          throws XMLException
Throws:
XMLException

createTextElement

public void createTextElement(Name element,
                              java.lang.String value)
                       throws XMLException
Throws:
XMLException

createElement

public Element createElement(Name element)
                      throws XMLException
Throws:
XMLException

send

public void send(Item item)
          throws XMLException
Throws:
XMLException

flushToElement

public void flushToElement(Element e)
                    throws XMLException
Throws:
XMLException

flush

public void flush()
           throws XMLException
Throws:
XMLException