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