Class DocumentFieldAccessor
- java.lang.Object
-
- org.nuxeo.ecm.platform.rendering.template.DocumentFieldAccessor
-
public abstract class DocumentFieldAccessor extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,DocumentFieldAccessor>
accessors
static DocumentFieldAccessor
FACETS
static DocumentFieldAccessor
ID
protected String
name
static DocumentFieldAccessor
NAME
static DocumentFieldAccessor
PATH
static DocumentFieldAccessor
SCHEMAS
static DocumentFieldAccessor
SYSTEM
static DocumentFieldAccessor
TYPE
-
Constructor Summary
Constructors Modifier Constructor Description protected
DocumentFieldAccessor(String name)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static DocumentFieldAccessor
get(String name)
static Collection<DocumentFieldAccessor>
getAcessors()
static int
getAcessorsCount()
static Collection<String>
getFieldNames()
String
getName()
abstract Object
getValue(DocumentModel doc)
static void
put(DocumentFieldAccessor accessor)
-
-
-
Field Detail
-
name
protected final String name
-
accessors
public static final Map<String,DocumentFieldAccessor> accessors
-
ID
public static final DocumentFieldAccessor ID
-
NAME
public static final DocumentFieldAccessor NAME
-
TYPE
public static final DocumentFieldAccessor TYPE
-
PATH
public static final DocumentFieldAccessor PATH
-
FACETS
public static final DocumentFieldAccessor FACETS
-
SCHEMAS
public static final DocumentFieldAccessor SCHEMAS
-
SYSTEM
public static final DocumentFieldAccessor SYSTEM
-
-
Constructor Detail
-
DocumentFieldAccessor
protected DocumentFieldAccessor(String name)
-
-
Method Detail
-
get
public static DocumentFieldAccessor get(String name)
-
put
public static void put(DocumentFieldAccessor accessor)
-
getFieldNames
public static Collection<String> getFieldNames()
-
getAcessors
public static Collection<DocumentFieldAccessor> getAcessors()
-
getAcessorsCount
public static int getAcessorsCount()
-
getName
public String getName()
-
getValue
public abstract Object getValue(DocumentModel doc)
-
-