org.apache.cocoon.xml
Interface XMLFragment
- All Superinterfaces:
- XMLizable
- All Known Implementing Classes:
- AbstractDOMFragment, AbstractSAXFragment
- 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:
- CVS $Id: XMLFragment.java,v 1.4 2002/02/22 07:03:58 cziegeler Exp $
- Author:
- Sylvain Wallez, Ricardo Rocha for the original XObject class
Method Summary |
void |
toDOM(org.w3c.dom.Node node)
Appends children representing the object's state to the given node. |
Methods inherited from interface org.apache.cocoon.xml.XMLizable |
toSAX |
toDOM
public void toDOM(org.w3c.dom.Node node)
throws java.lang.Exception
- Appends children representing the object's state to the given node.
Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.