| java.lang.Object au.id.jericho.lib.html.Cache
Cache | final class Cache (Code) | | Represents a cached map of character positions to tags.
The allTagTypesSubCache object is used to cache all tags.
Additional subcaches are used to cache single tag types, which increases the performance when searching for those tag types.
A list of tag types to be cached separately is specified in the SeparatelyCachedTagTypes property.
The standard implementation caches only COMMENT tag types separately, as these tag types are searched extensively
in the process of ensuring that every non-server tag is not located inside a comment.
|
clear | public void clear()(Code) | | |
findPreviousOrNextTag | public Tag findPreviousOrNextTag(int pos, boolean previous)(Code) | | |
findPreviousOrNextTag | public Tag findPreviousOrNextTag(int pos, TagType tagType, boolean previous)(Code) | | |
getSourceLength | protected int getSourceLength()(Code) | | |
getTagCount | public int getTagCount()(Code) | | |
loadAllTags | public void loadAllTags(List tags, Tag[] allRegisteredTags, StartTag[] allRegisteredStartTags)(Code) | | |
|
|