Class UncheckedVocab
java.lang.Object
com.adobe.epubcheck.vocab.UncheckedVocab
- All Implemented Interfaces:
Vocab
A
Vocab implementation which always return a successful lookup
result. In other words, this represents an "unchecked" vocabulary which
assumes that all property names are allowed. It is used to represent
user-declared custom vocabularies that are not known to EpubCheck.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUncheckedVocab(String base, String prefix) Creates a new unchecked vocabulary representing properties whose URIs start withbaseand short names have the prefixprefix. -
Method Summary
-
Field Details
-
base
-
prefix
-
-
Constructor Details
-
UncheckedVocab
Creates a new unchecked vocabulary representing properties whose URIs start withbaseand short names have the prefixprefix.- Parameters:
base- the URI stem used to generate URIs of properties in this vocabulary.prefix- the prefix used for property names.
-
-
Method Details
-
lookup
Returns a reference to a newPropertywith the short namename, the same prefix and stem URI as was given when creating this vocabulary. -
getURI
-