|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chromattic.api.format.DefaultObjectFormatter
public class DefaultObjectFormatter
Defines the default codec format that only performs validation of JCR names.
| Constructor Summary | |
|---|---|
DefaultObjectFormatter()
|
|
| Method Summary | |
|---|---|
String |
decodeNodeName(FormatterContext context,
String internalName)
Converts a jcr node name to an entity name. |
String |
decodePropertyName(FormatterContext context,
String internalName)
Converts a jcr property name to an entity property name. |
String |
encodeNodeName(FormatterContext context,
String externalName)
Converts an entity name to a jcr node name. |
String |
encodePropertyName(FormatterContext context,
String externalName)
Converts an entity property name to a jcr property name. |
static DefaultObjectFormatter |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultObjectFormatter()
| Method Detail |
|---|
public static DefaultObjectFormatter getInstance()
public String decodeNodeName(FormatterContext context,
String internalName)
ObjectFormatter
decodeNodeName in interface ObjectFormattercontext - the contextinternalName - the jcr node name
public String encodeNodeName(FormatterContext context,
String externalName)
ObjectFormatter
encodeNodeName in interface ObjectFormattercontext - the contextexternalName - the entity name
public String decodePropertyName(FormatterContext context,
String internalName)
ObjectFormatter
decodePropertyName in interface ObjectFormattercontext - the contextinternalName - the jcr property name
public String encodePropertyName(FormatterContext context,
String externalName)
ObjectFormatter
encodePropertyName in interface ObjectFormattercontext - the contextexternalName - the entity property name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||