001: /**
002: *
003: */package com.bostechcorp.cbesb.common.mdl;
004:
005: /**
006: * @author mpreston
007: *
008: */
009: public class MDLDocConstants {
010: // Root element constants
011: public static final String MDL_NAMESPACE = "http://cbesb.bostechcorp.com/mdl/1.0";
012:
013: public static final String MDL_NAMESPACE_PREFIX = "mdl";
014:
015: public static final String MDL_DEFINITION = "definition";
016:
017: public static final String MDL_TARGETNAMESPACE = "targetNamespace";
018:
019: public static final String MDL_TARGETNAMESPACE_PREFIX = "tns";
020:
021: public static final String MDL_ELEMENTFORMDEFAULT = "elementFormDefault";
022:
023: public static final String MDL_ELEMFORMDEF_QUALIFIED = "qualified";
024:
025: public static final String MDL_ELEMFORMDEF_UNQUALIFIED = "unqualified";
026:
027: // Include/Import constants
028: public static final String MDL_INCLUDE = "include";
029:
030: public static final String MDL_IMPORT = "import";
031:
032: public static final String MDL_DEFLOCATION = "defLocation";
033:
034: public static final String MDL_IMPORT_NAMESPACE = "namespace";
035:
036: // Global Property Definition contstants
037: public static final String MDL_PROPERTY = "property";
038:
039: public static final String MDL_PROPERTY_VALUE = "value";
040:
041: // General Message, Element, Property and Datatype constants
042: public static final String MDL_MESSAGE = "message";
043:
044: public static final String MDL_ELEMENT = "element";
045:
046: public static final String MDL_GROUP = "group";
047:
048: public static final String MDL_NAME = "name";
049:
050: public static final String MDL_FORMAT = "format";
051:
052: public static final String MDL_CONTENT = "content";
053:
054: public static final String MDL_DESCRIPTION = "description";
055:
056: // Fixed Element constants
057: public static final String MDL_FIXED = "fixed";
058:
059: public static final String MDL_FIXED_LENGTH = "length";
060:
061: public static final String MDL_FIXED_FILLCHAR = "fillChar";
062:
063: public static final String MDL_FIXED_JUSTIFICATION = "justification";
064:
065: public static final String MDL_FIXED_LEFT = "left";
066:
067: public static final String MDL_FIXED_RIGHT = "right";
068:
069: // Variable Element constants
070: public static final String MDL_VARIABLE = "variable";
071:
072: public static final String MDL_VARIABLE_DELIMITER = "delimiter";
073:
074: public static final String MDL_VARIABLE_ESCAPECHAR = "escapeChar";
075:
076: public static final String MDL_VARIABLE_REPEATDELIMITER = "repeatDelimiter";
077:
078: public static final String MDL_VARIABLE_QUOTECHAR = "quoteChar";
079:
080: public static final String MDL_VARIABLE_MINLENGTH = "minLength";
081:
082: public static final String MDL_VARIABLE_MAXLENGTH = "maxLength";
083:
084: public static final String MDL_VARIABLE_TAG = "tag";
085:
086: public static final String MDL_VARIABLE_DELIMITER_REF = "delimiterRef";
087:
088: public static final String MDL_VARIABLE_ESCAPECHAR_REF = "escapeCharRef";
089:
090: public static final String MDL_VARIABLE_REPEATDELIMITER_REF = "repeatDelimiterRef";
091:
092: public static final String MDL_VARIABLE_QUOTECHAR_REF = "quoteCharRef";
093:
094: // Content Element constants
095: public static final String MDL_CONTENT_TYPE = "type";
096:
097: public static final String MDL_CONTENT_SEQUENCE = "sequence";
098:
099: public static final String MDL_CONTENT_CHOICE = "choice";
100:
101: public static final String MDL_CONTENT_IDMETHOD = "idMethod";
102:
103: public static final String MDL_CONTENT_POSITION = "position";
104:
105: public static final String MDL_CONTENT_TAG = "tag";
106:
107: public static final String MDL_CONTENT_TAGLENGTH = "tagLength";
108:
109: public static final String MDL_CONTENT_MINOCCURS = "minOccurs";
110:
111: public static final String MDL_CONTENT_MAXOCCURS = "maxOccurs";
112:
113: public static final String MDL_CONTENT_UNBOUNDED = "unbounded";
114:
115: public static final String MDL_CONTENT_REF = "ref";
116:
117: public static final String MDL_CONTENT_ELEMENT_DEF = "elementDef";
118:
119: public static final String MDL_CONTENT_TAGLENGTH_REF = "tagLengthRef";
120:
121: public static final String MDL_CONTENT_TAGDELIMITER = "tagDelimiter";
122:
123: public static final String MDL_CONTENT_TAGDELIMITER_REF = "tagDelimiterRef";
124:
125: // Data Type constants
126: public static final String MDL_DATATYPE = "datatype";
127:
128: public static final String MDL_DATATYPE_BASETYPE = "baseType";
129:
130: }
|