org.activemath.omdocjdom.mbase
Class MBaseBuilder.MBaseFactory
java.lang.Object
org.activemath.omdocjdom.OJFactory
org.activemath.omdocjdom.mbase.MBaseBuilder.MBaseFactory
- All Implemented Interfaces:
- org.jdom.JDOMFactory
- Enclosing class:
- MBaseBuilder
protected class MBaseBuilder.MBaseFactory
- extends OJFactory
| 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 |
MBaseBuilder.MBaseFactory
public MBaseBuilder.MBaseFactory()
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