|
TopoWeb Commons API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.topoweb.xml.Factory.Components
Encapsulates the XML component factories shipped with the runtime.
Each instance is accessed by a single thread. The factories returned
by each instance are supposed to be loaded lazily. The object stored
in Factory.threadLocal
is an instance of
Components
.
Factory.newComponents()
Constructor Summary | |
protected |
Factory.Components()
|
Method Summary | |
javax.xml.parsers.DocumentBuilder |
getDocumentBuilder()
Always returns the same DocumentBuilder instance
in any given thread. |
javax.xml.parsers.DocumentBuilderFactory |
getDocumentBuilderFactory()
Always returns the same DocumentBuilderFactory instance
in any given thread. |
javax.xml.transform.TransformerFactory |
getTransformerFactory()
Always returns the same TransformerFactory instance
in any given thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Factory.Components()
Method Detail |
public javax.xml.transform.TransformerFactory getTransformerFactory()
TransformerFactory
instance
in any given thread.
TransformerFactory
public javax.xml.parsers.DocumentBuilderFactory getDocumentBuilderFactory() throws javax.xml.parsers.ParserConfigurationException
DocumentBuilderFactory
instance
in any given thread.
DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
public javax.xml.parsers.DocumentBuilder getDocumentBuilder() throws javax.xml.parsers.ParserConfigurationException
DocumentBuilder
instance
in any given thread.
DocumentBuilder
javax.xml.parsers.ParserConfigurationException
|
TopoWeb Commons API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |