public class DocumentModelCSVHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
SYSTEM_PROPERTIES_HEADER_FIELDS |
static List<String> |
VOCABULARY_TYPES |
Modifier and Type | Method and Description |
---|---|
static List<String> |
getList(RenderingContext ctx,
String key) |
static Directory |
getVocabulary(Type type) |
static boolean |
isVocabulary(Type type)
Checks if given type is a vocabulary.
|
static void |
printPropertiesHeader(List<String> schemas,
List<String> xpaths,
org.apache.commons.csv.CSVPrinter printer)
Prints the fields for document model properties of given schemas and xpaths.
|
static void |
printSystemPropertiesHeader(org.apache.commons.csv.CSVPrinter printer)
Prints the fields for document model system properties.
|
public static final String[] SYSTEM_PROPERTIES_HEADER_FIELDS
public static final List<String> VOCABULARY_TYPES
public static void printSystemPropertiesHeader(org.apache.commons.csv.CSVPrinter printer) throws IOException
IOException
public static void printPropertiesHeader(List<String> schemas, List<String> xpaths, org.apache.commons.csv.CSVPrinter printer) throws IOException
IOException
public static boolean isVocabulary(Type type)
public static Directory getVocabulary(Type type)
public static List<String> getList(RenderingContext ctx, String key)
Copyright © 2019 Nuxeo. All rights reserved.