org.chromattic.api.format
Class DefaultObjectFormatter
java.lang.Object
org.chromattic.api.format.DefaultObjectFormatter
- All Implemented Interfaces:
- ObjectFormatter
public class DefaultObjectFormatter
- extends Object
- implements ObjectFormatter
Defines the default codec format that only performs validation of JCR names.
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultObjectFormatter
public DefaultObjectFormatter()
getInstance
public static DefaultObjectFormatter getInstance()
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
decodePropertyName
public String decodePropertyName(FormatterContext context,
String internalName)
- Specified by:
decodePropertyName in interface ObjectFormatter
encodePropertyName
public String encodePropertyName(FormatterContext context,
String externalName)
- Specified by:
encodePropertyName in interface ObjectFormatter
Copyright © 2009 eXo Platform SAS. All Rights Reserved.