Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » xml » [javadoc | source]
org.apache.cocoon.xml
public interface: XMLFragment [javadoc | source]

All Implemented Interfaces:
    org.apache.excalibur.xml.sax.XMLizable

All Known Implementing Classes:
    IncludeBuffer, XMLByteStreamFragment, ParamSaxBuffer, AbstractSAXFragment, AbstractDOMFragment, SaxBuffer

This interface must be implemented by classes willing to provide an XML representation of their current state.

This interface exists in both Cocoon 1 and Cocoon 2 and to ensure a minimal compatibility between the two versions.

Cocoon 2 only objects can implement the SAX-only XMLizable interface.

Method from org.apache.cocoon.xml.XMLFragment Summary:
toDOM
Method from org.apache.cocoon.xml.XMLFragment Detail:
 public  void toDOM(Node node) throws Exception
    Appends children representing the object's state to the given node.