|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.dom.XMLCDomFactoryCache
Class that provides a cache of XMLCDomFactory objects. Since these classes are simple, they are normally reentrant. This cache provides a mechanism to maintain only one instance of each class. Currently, instances are never freed from this cache. Also creates factories for use at compile-time.
Method Summary | |
static void |
checkForOutdatedClass(XMLCDomFactory domFactory)
Check a DOM factory for outdated methods. |
static XMLCDomFactory |
createFactory(java.lang.String factoryClassName,
boolean isHtmlDocument)
Create an instance of an XMLCDomFactory, however don't add it to the cache. |
static XMLCDomFactory |
getFactory(java.lang.Class factoryClass)
Get an instance of an XMLCDomFactory given it's class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static XMLCDomFactory createFactory(java.lang.String factoryClassName, boolean isHtmlDocument)
factoryClassName
- Name of factory to create, if null, the
default is user.isHtmlDocument
- Use only to determine the default.public static XMLCDomFactory getFactory(java.lang.Class factoryClass)
public static void checkForOutdatedClass(XMLCDomFactory domFactory)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |