public class HyphenatorRegistry extends TransformProvider.util.Memoize<Hyphenator> implements HyphenatorProvider<Hyphenator>
TransformProvider.util
Memoizing.util
Constructor and Description |
---|
HyphenatorRegistry() |
Modifier and Type | Method and Description |
---|---|
Iterable<Hyphenator> |
_get(Query q) |
protected HyphenatorRegistry |
_withContext(org.slf4j.Logger context)
Create a new
TransformProvider with the given context that is also memoizing
and is based on the same underlying caches. |
void |
addProvider(HyphenatorProvider p) |
Iterable<Hyphenator> |
get(Query query,
String style,
URI baseURI)
Select
Hyphenator s based on a query and a CSS style sheet possibly containing
@hyphenation-resource rules. |
String |
toString() |
HyphenatorRegistry |
withContext(org.slf4j.Logger context) |
get, skip
_apply
apply, invalidateCache
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invalidateCache
public void addProvider(HyphenatorProvider p)
public Iterable<Hyphenator> _get(Query q)
_get
in class Provider.util.Memoize<Query,Hyphenator>
public HyphenatorRegistry withContext(org.slf4j.Logger context)
withContext
in interface Contextual<org.slf4j.Logger,TransformProvider<Hyphenator>>
withContext
in class TransformProvider.util.Memoize<Hyphenator>
protected HyphenatorRegistry _withContext(org.slf4j.Logger context)
TransformProvider.util.Memoize
TransformProvider
with the given context that is also memoizing
and is based on the same underlying caches._withContext
in class TransformProvider.util.Memoize<Hyphenator>
public Iterable<Hyphenator> get(Query query, String style, URI baseURI)
Hyphenator
s based on a query and a CSS style sheet possibly containing
@hyphenation-resource
rules.
Contrary to TransformProvider.util.Memoize.get(Query)
, this method is not memoized, and the returned objects may
not be selectable based on their identifier.baseURI
- Base URI for resolving relative paths in CSS against.Copyright © 2010–2024 The DAISY Consortium. All rights reserved.