org.chromattic.ext.format
Class AbstractEncodingObjectFormatter
java.lang.Object
org.chromattic.ext.format.AbstractEncodingObjectFormatter
- All Implemented Interfaces:
- ObjectFormatter
public abstract class AbstractEncodingObjectFormatter
- extends Object
- implements ObjectFormatter
Encode a JCR Node name to be valid. Can be prefixed.
- Version:
- $Revision$
- Author:
- Thomas Heute
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEncodingObjectFormatter
public AbstractEncodingObjectFormatter()
getPrefix
public abstract String getPrefix()
decodeNodeName
public String decodeNodeName(FormatterContext context,
String internalName)
- Specified by:
decodeNodeName in interface ObjectFormatter
encodeNodeName
public String encodeNodeName(FormatterContext context,
String externalName)
- Specified by:
encodeNodeName in interface ObjectFormatter
Copyright © 2010 eXo Platform SAS. All Rights Reserved.