public class DocbookOutgoingReferencesExtractor extends Object implements RichTextOutgoingReferencesExtractor, Serviceable
Modifier and Type | Field and Description |
---|---|
protected ServiceManager |
_manager
Avalon service manager
|
private SourceResolver |
_sourceResolver |
private XPathProcessor |
_xpathProcessor |
private XSLTProcessor |
_xsltProcessor |
static String |
ROLE
Avalon Role
|
Constructor and Description |
---|
DocbookOutgoingReferencesExtractor() |
Modifier and Type | Method and Description |
---|---|
protected Node |
_getNodeAfterXSLT(RichText metadata)
Take the metadata stream and transform it using the xslt configured (_getXSLTURI)
|
protected String |
_getXSLTURI()
The uri to use for conversion to outgoing references format
|
OutgoingReferences |
getOutgoingReferences(RichText metadata)
This method analyzes a rich text metadata to return the list of outgoing references
|
void |
service(ServiceManager manager) |
protected ServiceManager _manager
private SourceResolver _sourceResolver
private XSLTProcessor _xsltProcessor
private XPathProcessor _xpathProcessor
public DocbookOutgoingReferencesExtractor()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
protected String _getXSLTURI()
protected Node _getNodeAfterXSLT(RichText metadata)
metadata
- The metadata to transformpublic OutgoingReferences getOutgoingReferences(RichText metadata)
RichTextOutgoingReferencesExtractor
getOutgoingReferences
in interface RichTextOutgoingReferencesExtractor
metadata
- The richtext metadata to analyze