Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.dom

pack-priv Class NodeListCache

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable

This class is used, via a pool managed on CoreDocumentImpl, in ParentNode to improve performance of the NodeList accessors, getLength() and item(i).
Author
Arnaud Le Hors, IBM

Field Summary

Modifier and TypeField and Description
pack-priv ChildNode
fChild

Last requested node.

pack-priv int
fChildIndex

Last requested node index.

pack-priv int
fLength

Cached node list length.

pack-priv ParentNode
fOwner

Owner of this cache

pack-priv NodeListCache
next

Pointer to the next object on the list, only meaningful when actully stored in the free list.

private static final long
serialVersionUID

Serialization version.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fChildback to summary
pack-priv ChildNode fChild

Last requested node.

fChildIndexback to summary
pack-priv int fChildIndex

Last requested node index.

fLengthback to summary
pack-priv int fLength

Cached node list length.

fOwnerback to summary
pack-priv ParentNode fOwner

Owner of this cache

nextback to summary
pack-priv NodeListCache next

Pointer to the next object on the list, only meaningful when actully stored in the free list.

serialVersionUIDback to summary
private static final long serialVersionUID

Serialization version.

Constructor Detail

NodeListCacheback to summary
pack-priv NodeListCache(ParentNode owner)