org.activemath.omdocjdom.lucene
Class OJFactory2

java.lang.Object
  extended by org.activemath.omdocjdom.OJFactory
      extended by org.activemath.omdocjdom.lucene.OJFactory2
All Implemented Interfaces:
org.jdom.JDOMFactory

public class OJFactory2
extends OJFactory

This class is specialize class OJFactory. It only overide the functionaly of constructSpecailEltSubclass method.

Version:

Field Summary
 
Fields inherited from class org.activemath.omdocjdom.OJFactory
CVS_ID, DEBUG, isBusy, lastElementBuilt, locationProvider
 
Constructor Summary
OJFactory2()
           
 
Method Summary
 OJElement constructSpecialEltSubclass(String name, org.jdom.Namespace namespace)
          This method constructs objects of type OJElement.
 
Methods inherited from class org.activemath.omdocjdom.OJFactory
addContent, addNamespaceDeclaration, attribute, attribute, attribute, attribute, cdata, comment, constructSpecialAttSubclass, constructSpecialDocumentSubclass, constructSpecialTextSubclass, docType, docType, docType, document, document, document, element, element, element, element, entityRef, entityRef, entityRef, processingInstruction, processingInstruction, reset, setAttribute, setLocationProvider, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OJFactory2

public OJFactory2()
Method Detail

constructSpecialEltSubclass

public OJElement constructSpecialEltSubclass(String name,
                                             org.jdom.Namespace namespace)
This method constructs objects of type OJElement. It creates a new object Dependency other then its parent implementation.

Overrides:
constructSpecialEltSubclass in class OJFactory
Parameters:
name - the name of the element, as internalized by OJConstants.internalizeEltName(java.lang.String).
namespace - the namespace to be used as provided by Namespace.getNamespace(java.lang.String, java.lang.String)
Returns:
the wished subclass instance