Class XhtmlResourceIdentifierExtractor
java.lang.Object
com.atlassian.confluence.impl.content.render.prefetch.xhtml.XhtmlResourceIdentifierExtractor
- All Implemented Interfaces:
ResourceIdentifierExtractor
Scans storage format content and extracts any resource identifiers found within.
- Since:
- 5.10
-
Constructor Summary
ConstructorDescriptionXhtmlResourceIdentifierExtractor
(XmlEventReaderFactory xmlEventReaderFactory, Unmarshaller<ResourceIdentifier> resourceIdentifierUnmarshaller) -
Method Summary
Modifier and TypeMethodDescriptionextractResourceIdentifiers
(BodyContent storageFormatContent, ConversionContext conversionContext) boolean
-
Constructor Details
-
XhtmlResourceIdentifierExtractor
public XhtmlResourceIdentifierExtractor(XmlEventReaderFactory xmlEventReaderFactory, Unmarshaller<ResourceIdentifier> resourceIdentifierUnmarshaller)
-
-
Method Details
-
handles
- Specified by:
handles
in interfaceResourceIdentifierExtractor
-
extractResourceIdentifiers
public ResourceIdentifiers extractResourceIdentifiers(BodyContent storageFormatContent, ConversionContext conversionContext) throws XMLStreamException, XhtmlException - Specified by:
extractResourceIdentifiers
in interfaceResourceIdentifierExtractor
- Throws:
XMLStreamException
XhtmlException
-