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 java.lang.Object implements ReferenceExtractor
Returns an optionalReference
with typeType.STATIC_CONTENT
and the URL of the image map.
-
-
Constructor Summary
Constructors Constructor Description ImageMapExtractor(ro.sync.ecss.css.StyleSheet stylesheet)
Creates and extractor with the given stylesheet
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Reference>
extract(ro.sync.ecss.dom.AuthorSentinelNode node)
Returns aReference
for the external resource
-
-
-
Method Detail
-
extract
public java.util.Optional<Reference> extract(ro.sync.ecss.dom.AuthorSentinelNode node)
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:
ReferenceExtractor.extract(ro.sync.ecss.dom.AuthorSentinelNode)
-
-