Class DocbookOutgoingReferencesExtractor
java.lang.Object
org.ametys.cms.transformation.docbook.DocbookOutgoingReferencesExtractor
- All Implemented Interfaces:
RichTextOutgoingReferencesExtractor,Serviceable
- Direct Known Subclasses:
HTMLOutgoingReferencesExtractor
public class DocbookOutgoingReferencesExtractor
extends Object
implements RichTextOutgoingReferencesExtractor, Serviceable
This impl extract outgoing references on docbook rich texts
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ServiceManagerAvalon service managerstatic final StringAvalon Role -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Node_getNodeAfterXSLT(RichText metadata) Take the metadata stream and transform it using the xslt configured (_getXSLTURI)protected StringThe uri to use for conversion to outgoing references formatgetOutgoingReferences(RichText richText) This method analyzes a rich text to return the list of outgoing referencesvoidservice(ServiceManager manager)
-
Field Details
-
ROLE
Avalon Role -
_manager
Avalon service manager
-
-
Constructor Details
-
DocbookOutgoingReferencesExtractor
public DocbookOutgoingReferencesExtractor()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
_getXSLTURI
The uri to use for conversion to outgoing references format- Returns:
- The uri
-
_getNodeAfterXSLT
Take the metadata stream and transform it using the xslt configured (_getXSLTURI)- Parameters:
metadata- The metadata to transform- Returns:
- The root node of the result XML after the transformation
-
getOutgoingReferences
Description copied from interface:RichTextOutgoingReferencesExtractorThis method analyzes a rich text to return the list of outgoing references- Specified by:
getOutgoingReferencesin interfaceRichTextOutgoingReferencesExtractor- Parameters:
richText- The rich text to analyze- Returns:
- The outgoing references for the rich text
-