001: package org.objectweb.celtix.tools.common;
002:
003: import javax.xml.namespace.QName;
004:
005: public final class ToolConstants {
006:
007: public static final String TOOLSPECS_BASE = "/org/objectweb/celtix/tools/common/toolspec/toolspecs/";
008: public static final String SCHEMA_URI = "http://www.w3.org/2001/XMLSchema";
009: public static final String XML_NAMESPACE_URI = "http://www.w3.org/XML/1998/namespace";
010: public static final String WSDL_NAMESPACE_URI = "http://schemas.xmlsoap.org/wsdl/";
011:
012: public static final String DEFAULT_TEMP_DIR = "gen_tmp";
013: public static final String CFG_OUTPUTDIR = "outputdir";
014: public static final String CFG_OUTPUTFILE = "outputfile";
015: public static final String CFG_WSDLURL = "wsdlurl";
016: public static final String CFG_NAMESPACE = "namespace";
017: public static final String CFG_VERBOSE = "verbose";
018: public static final String CFG_PORT = "port";
019: public static final String CFG_BINDING = "binding";
020: public static final String CFG_WEBSERVICE = "webservice";
021: public static final String CFG_SERVER = "server";
022: public static final String CFG_CLIENT = "client";
023: public static final String CFG_ALL = "all";
024: public static final String CFG_IMPL = "impl";
025: public static final String CFG_PACKAGENAME = "packagename";
026: public static final String CFG_NINCLUDE = "ninclude";
027: public static final String CFG_NEXCLUDE = "nexclude";
028: public static final String CFG_CMD_ARG = "args";
029: public static final String CFG_INSTALL_DIR = "install.dir";
030: public static final String CFG_PLATFORM_VERSION = "platform.version";
031: public static final String CFG_COMPILE = "compile";
032: public static final String CFG_CLASSDIR = "classdir";
033: public static final String CFG_EXTRA_SOAPHEADER = "exsoapheader";
034: public static final String CFG_DEFAULT_NS = "defaultns";
035: public static final String CFG_DEFAULT_EX = "defaultex";
036:
037: public static final String CFG_VALIDATE_WSDL = "validate";
038:
039: // WSDL2Java Constants
040:
041: public static final String CFG_TYPES = "types";
042: public static final String CFG_INTERFACE = "interface";
043: public static final String CFG_NIGNOREEXCLUDE = "nignoreexclude";
044: public static final String CFG_ANT = "ant";
045: public static final String CFG_LIB_REF = "library.references";
046: public static final String CFG_ANT_PROP = "ant.prop";
047:
048: // Java2WSDL Constants
049:
050: public static final String CFG_CLASSPATH = "classpath";
051: public static final String CFG_TNS = "tns";
052: public static final String CFG_SERVICENAME = "servicename";
053: public static final String CFG_SCHEMANS = "schemans";
054: public static final String CFG_USETYPES = "usetypes";
055: public static final String CFG_CLASSNAME = "classname";
056: public static final String CFG_PORTTYPE = "porttype";
057:
058: // WSDL2Service Constants
059: public static final String CFG_ADDRESS = "address";
060: public static final String CFG_TRANSPORT = "transport";
061: public static final String CFG_SERVICE = "service";
062: public static final String CFG_BINDING_ATTR = "attrbinding";
063:
064: // WSDL2Soap Constants
065: public static final String CFG_STYLE = "style";
066: public static final String CFG_USE = "use";
067:
068: // XSD2WSDL Constants
069: public static final String CFG_XSDURL = "xsdurl";
070: public static final String CFG_NAME = "name";
071:
072: // WsdlValidator
073: public static final String CFG_DEEP = "deep";
074: public static final String CFG_SCHEMA_DIR = "schemaDir";
075: public static final String CFG_SCHEMA_URL = "schemaURL";
076: public static final String CELTIX_SCHEMA_DIR = "celtix_schema_dir";
077:
078: // WSDL2Java Processor Constants
079: public static final String SEI_GENERATOR = "sei.generator";
080: public static final String FAULT_GENERATOR = "fault.generator";
081: public static final String TYPE_GENERATOR = "type.generator";
082: public static final String IMPL_GENERATOR = "impl.generator";
083: public static final String SVR_GENERATOR = "svr.generator";
084: public static final String CLT_GENERATOR = "clt.generator";
085: public static final String SERVICE_GENERATOR = "service.generator";
086: public static final String ANT_GENERATOR = "ant.generator";
087: public static final String HANDLER_GENERATOR = "handler.generator";
088: public static final String GENERATED_CLASS_COLLECTOR = "generatedClassCollector";
089:
090: // Binding namespace
091: public static final String NS_JAXWS_BINDINGS = "http://java.sun.com/xml/ns/jaxws";
092: public static final String NS_JAXB_BINDINGS = "http://java.sun.com/xml/ns/jaxb";
093: public static final QName JAXWS_BINDINGS = new QName(
094: NS_JAXWS_BINDINGS, "bindings");
095: public static final QName JAXB_BINDINGS = new QName(
096: NS_JAXB_BINDINGS, "bindings");
097: public static final String JAXWS_BINDINGS_WSDL_LOCATION = "wsdlLocation";
098: public static final String JAXWS_BINDING_NODE = "node";
099: public static final String JAXWS_BINDING_VERSION = "version";
100:
101: public static final String ASYNC_METHOD_SUFFIX = "Async";
102:
103: public static final String HANDLER_CHAINS_URI = "http://java.sun.com/xml/ns/javaee";
104: public static final String HANDLER_CHAIN = "handler-chain";
105: public static final String HANDLER_CHAINS = "handler-chains";
106:
107: public static final String RAW_JAXB_MODEL = "rawjaxbmodel";
108:
109: // JMS adress
110: public static final String NS_JMS_ADDRESS = "http://celtix.objectweb.org/transports/jms";
111: public static final QName JMS_ADDRESS = new QName(NS_JMS_ADDRESS,
112: "address");
113:
114: public static final String JMS_ADDR_DEST_STYLE = "destinationStyle";
115: public static final String JMS_ADDR_JNDI_URL = "jndiProviderURL";
116: public static final String JMS_ADDR_JNDI_FAC = "jndiConnectionFactoryName";
117: public static final String JMS_ADDR_JNDI_DEST = "jndiDestinationName";
118: public static final String JMS_ADDR_MSG_TYPE = "messageType";
119: public static final String JMS_ADDR_INIT_CTX = "initialContextFactory";
120: public static final String JMS_ADDR_SUBSCRIBER_NAME = "durableSubscriberName";
121: public static final String JMS_ADDR_MSGID_TO_CORRID = "useMessageIDAsCorrelationID";
122:
123: // XML Binding
124: public static final String XMLBINDING_ROOTNODE = "rootNode";
125: public static final String XMLBINDING_HTTP_LOCATION = "location";
126: public static final String NS_XML_FORMAT = "http://celtix.objectweb.org/bindings/xmlformat";
127: public static final String XML_FORMAT_PREFIX = "xformat";
128: public static final String NS_XML_HTTP = "http://schemas.xmlsoap.org/wsdl/http/";
129: public static final String XML_HTTP_PREFIX = "http";
130: public static final QName XML_HTTP_ADDRESS = new QName(NS_XML_HTTP,
131: "address");
132: public static final QName XML_FORMAT = new QName(NS_XML_FORMAT,
133: "body");
134: public static final QName XML_BINDING_FORMAT = new QName(
135: NS_XML_FORMAT, "binding");
136:
137: }
|