Class ImageMapExtractor
java.lang.Object
ro.sync.ecss.extensions.api.webapp.references.ImageMapExtractor
- All Implemented Interfaces:
ReferenceExtractor
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class ImageMapExtractor
extends Object
implements ReferenceExtractor
Returns an optional
Reference
with type Type.STATIC_CONTENT
and the URL of the
image map.-
Constructor Summary
ConstructorsConstructorDescriptionImageMapExtractor
(ro.sync.ecss.css.StyleSheet stylesheet) Creates and extractor with the given stylesheet -
Method Summary
-
Constructor Details
-
ImageMapExtractor
public ImageMapExtractor(ro.sync.ecss.css.StyleSheet stylesheet) Creates and extractor with the given stylesheet- Parameters:
stylesheet
-
-
-
Method Details
-
extract
Description copied from interface:ReferenceExtractor
Returns aReference
for the external resource- Specified by:
extract
in interfaceReferenceExtractor
- Parameters:
node
- the document node- Returns:
- reference data of the external resource associated with the node
- See Also:
-