public interface URLReplacer
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(String tagName,
String attrName)
Return true if replacer can handle tag and attr
|
String |
replacePlaceholdersByRefs(String originalValue,
Map<Long,String> refs,
String workspaceName,
Locale locale,
JCRNodeWrapper parent)
replace placeholders by refs
|
String |
replaceRefsByPlaceholders(String originalValue,
Map<String,Long> newRefs,
Map<String,Long> oldRefs,
String workspace,
Locale locale,
JCRNodeWrapper node,
ExtendedPropertyDefinition definition)
replace refs by placeholders
|
boolean canHandle(String tagName, String attrName)
tagName - tag nameattrName - attribute nameString replaceRefsByPlaceholders(String originalValue, Map<String,Long> newRefs, Map<String,Long> oldRefs, String workspace, Locale locale, JCRNodeWrapper node, ExtendedPropertyDefinition definition) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.