View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   import org.w3c.dom.*;
4   
5   /***
6    * Abstraction of object that can be to represent with a {@linkNode}.
7    * This interface has just one method : <tt>toNode()</tt>.
8    *
9    * @author Grégory Borelli
10   */
11  public interface GB_NodeRepresentable
12  {
13      /***
14       * Return a representation of an object as a {@link Node}.
15       */
16      Node toNode(
17              Document a_document);
18  
19  }