org.activemath.omdocjdom.mbase
Class MBaseBuilder.MBaseFactory

java.lang.Object
  extended by org.activemath.omdocjdom.OJFactory
      extended by org.activemath.omdocjdom.mbase.MBaseBuilder.MBaseFactory
All Implemented Interfaces:
org.jdom.JDOMFactory
Enclosing class:
MBaseBuilder

protected class MBaseBuilder.MBaseFactory
extends OJFactory


Field Summary
 
Fields inherited from class org.activemath.omdocjdom.OJFactory
CVS_ID, DEBUG, isBusy, lastElementBuilt, locationProvider
 
Constructor Summary
MBaseBuilder.MBaseFactory()
           
 
Method Summary
 OJElement constructSpecialEltSubclass(String name, org.jdom.Namespace namespace)
          This method is responsible to build the appropriate subclass of OJElement or returns null if there is none to make.
 
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

MBaseBuilder.MBaseFactory

public MBaseBuilder.MBaseFactory()
Method Detail

constructSpecialEltSubclass

public OJElement constructSpecialEltSubclass(String name,
                                             org.jdom.Namespace namespace)
Description copied from class: OJFactory
This method is responsible to build the appropriate subclass of OJElement or returns null if there is none to make. This method is designed to be subclassed by more specialized factories which can then provide other subclasses calling this one to provide the ones of the OmdocJdom package.

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