org.apache.cocoon.xml
Interface XMLFragment

All Superinterfaces:
XMLizable

public interface XMLFragment
extends XMLizable

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.

Version:
$Id: XMLFragment.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Method Summary
 void toDOM(Node node)
          Appends children representing the object's state to the given node.
 
Methods inherited from interface org.apache.excalibur.xml.sax.XMLizable
toSAX
 

Method Detail

toDOM

public void toDOM(Node node)
           throws Exception
Appends children representing the object's state to the given node.

Throws:
Exception


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.