fr.umlv.tatoo.runtime.ast
Class XMLNodeFactory

java.lang.Object
  extended by fr.umlv.tatoo.runtime.ast.XMLNodeFactory

public abstract class XMLNodeFactory
extends Object

Factory used by XML deserialization in order to create empty node.

Author:
Remi

Nested Class Summary
protected static interface XMLNodeFactory.AbstractNodeFactory
          Part of factory that knows how to create an empty no of a specific XML element name.
 
Constructor Summary
protected XMLNodeFactory(XMLNodeFactory.AbstractNodeFactory[] factories)
          Creates a factory that know how to create an empty nodes corresponding to selement names.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLNodeFactory

protected XMLNodeFactory(XMLNodeFactory.AbstractNodeFactory[] factories)
Creates a factory that know how to create an empty nodes corresponding to selement names.

Parameters:
factories - an array of all abstract factories needed for create the AST. Each abstract factory corresponds to an XML element and knows how to create the correspoding AST node.