org.chromattic.ext.format
Class AbstractEncodingObjectFormatter
java.lang.Object
org.chromattic.ext.format.AbstractEncodingObjectFormatter
- All Implemented Interfaces:
- ObjectFormatter
public abstract class AbstractEncodingObjectFormatter
- extends java.lang.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 java.lang.String getPrefix()
decodeNodeName
public java.lang.String decodeNodeName(FormatterContext context,
java.lang.String internalName)
- Specified by:
decodeNodeName in interface ObjectFormatter
encodeNodeName
public java.lang.String encodeNodeName(FormatterContext context,
java.lang.String externalName)
- Specified by:
encodeNodeName in interface ObjectFormatter
Copyright © 2010 eXo Platform SAS. All Rights Reserved.