|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlbeans.QNameCache
A cache that can be used to pool QName instances. Each thread has one.
Constructor Summary | |
QNameCache(int initialCapacity)
Creates a QNameCache with the given initialCapacity. |
|
QNameCache(int initialCapacity,
float loadFactor)
Creates a QNameCache with the given initialCapacity and loadFactor. |
Method Summary | |
QName |
getName(String uri,
String localName)
|
QName |
getName(String uri,
String localName,
String prefix)
Fetches a QName with the given namespace and localname. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QNameCache(int initialCapacity, float loadFactor)
initialCapacity
- the number of entries to initially make space forloadFactor
- a number to control the density of the hashtablepublic QNameCache(int initialCapacity)
initialCapacity
- the number of entries to initially make space forMethod Detail |
public QName getName(String uri, String localName)
public QName getName(String uri, String localName, String prefix)
uri
- the namespacelocalName
- the localnameprefix
- the prefix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |