|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlbeans.QNameCache
public final class 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 | |
---|---|
javax.xml.namespace.QName |
getName(java.lang.String uri,
java.lang.String localName)
|
javax.xml.namespace.QName |
getName(java.lang.String uri,
java.lang.String localName,
java.lang.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 javax.xml.namespace.QName getName(java.lang.String uri, java.lang.String localName)
public javax.xml.namespace.QName getName(java.lang.String uri, java.lang.String localName, java.lang.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 |