public class DocbookOutgoingReferencesExtractor extends Object implements RichTextOutgoingReferencesExtractor, Serviceable
| Modifier and Type | Field and Description |
|---|---|
private SAXParser |
_saxParser |
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) |
private SourceResolver _sourceResolver
private XSLTProcessor _xsltProcessor
private SAXParser _saxParser
private XPathProcessor _xpathProcessor
public DocbookOutgoingReferencesExtractor()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionprotected String _getXSLTURI()
protected Node _getNodeAfterXSLT(RichText metadata)
metadata - The metadata to transformpublic OutgoingReferences getOutgoingReferences(RichText metadata)
RichTextOutgoingReferencesExtractorgetOutgoingReferences in interface RichTextOutgoingReferencesExtractormetadata - The richtext metadata to analyze