org.chromattic.ext.format
Class BaseEncodingObjectFormatter

java.lang.Object
  extended by org.chromattic.ext.format.BaseEncodingObjectFormatter
All Implemented Interfaces:
ObjectFormatter

public class BaseEncodingObjectFormatter
extends java.lang.Object
implements ObjectFormatter

Encode a JCR Node name to be valid. Can be prefixed.

Version:
$Revision$
Author:
Thomas Heute

Constructor Summary
BaseEncodingObjectFormatter()
           
 
Method Summary
 java.lang.String decodeNodeName(FormatterContext context, java.lang.String internalName)
           
 java.lang.String encodeNodeName(FormatterContext context, java.lang.String externalName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseEncodingObjectFormatter

public BaseEncodingObjectFormatter()
Method Detail

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 © 2014 eXo Platform SAS. All Rights Reserved.