|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.impl.xs.dom.DOMNodePool
This class is pool that enables caching of DOM nodes, such as Element, Attr, Text, that are used to parse and later traverse XML Schemas. The pool is reset before a new set of schemas is traversed. Note: pool is not reset during traversals of imported/included schemas.
Constructor Summary | |
DOMNodePool()
|
Method Summary | |
AttrNSImpl |
getAttrNode()
This methods creates attribute node or provides a free attribute node if such exists in the pool. |
ElementNSImpl |
getElementNode()
This method creates a new element node or provides a free element node if such exists in the pool. |
TextImpl |
getTextNode()
This methods creates text node or provides a free text node if such exists in the pool. |
void |
reset()
Reset the pool. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMNodePool()
Method Detail |
public final ElementNSImpl getElementNode()
public final TextImpl getTextNode()
public final AttrNSImpl getAttrNode()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |