1 19 package org.enhydra.zeus; 20 21 import org.enhydra.zeus.transform.TransformerOptions; 23 import org.enhydra.zeus.util.ClassUtils; 24 25 33 public class ZeusDefaults { 34 35 36 public static final String PCDATA_XML_NAME = "PCDATA"; 37 38 39 public static final String PCDATA_JAVA_NAME = "value"; 40 41 42 public static final String XML_NAME_FIELD = "ZEUS_XML_NAME"; 43 44 45 public static final String ATTRIBUTE_ARRAY_FIELD = "ZEUS_ATTRIBUTES"; 46 47 48 public static final String ELEMENT_ARRAY_FIELD = "ZEUS_ELEMENTS"; 49 50 51 public static final String ZEUS_INTERNAL_PREFIX = "zeus_"; 52 53 54 public static final String SCHEMA_NAMESPACE_URI = 55 "http://www.w3.org/2001/XMLSchema"; 56 57 58 public static final String DEFAULT_PARSER = 59 "org.apache.xerces.parsers.SAXParser"; 60 61 62 public static final TransformerOptions DEFAULT_TRANSFORMER_OPTIONS = 63 new TransformerOptions("", ClassUtils.COLLECTION_TYPE_LIST); 64 65 66 public static final Boolean DEFAULT_VALIDATION_STATE = 67 new Boolean (false); 68 69 70 public static final String VALIDATION_SYSTEM_PROPERTY = 71 "org.enhydra.zeus.validation"; 72 73 74 public static final String GENERATED_CLASS_COMMENT = new StringBuffer () 75 .append("/**\n") 76 .append(" * This class was generated from a set of XML constraints\n") 77 .append(" * by the Enhydra Zeus XML Data Binding Framework. All\n") 78 .append(" * source code in this file is constructed specifically\n") 79 .append(" * to work with other Zeus-generated classes. If you\n") 80 .append(" * modify this file by hand, you run the risk of breaking\n") 81 .append(" * this interoperation, as well as introducing errors in\n") 82 .append(" * source code compilation.\n") 83 .append(" *\n") 84 .append(" * * * * * MODIFY THIS FILE AT YOUR OWN RISK * * * * *\n") 85 .append(" *\n") 86 .append(" * To find out more about the Enhydra Zeus framework, you\n") 87 .append(" * can point your browser at <http://zeus.enhydra.org>\n") 88 .append(" * where you can download releases, join and discuss Zeus\n") 89 .append(" * on user and developer mailing lists, and access source\n") 90 .append(" * code. Please report any bugs through that website.\n") 91 .append(" */\n") 92 .toString(); 93 } 94 95 | Popular Tags |