KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > component > common > MEPConstants


1 package org.objectweb.petals.component.common;
2
3 import java.net.URI JavaDoc;
4 import java.net.URISyntaxException JavaDoc;
5
6 public class MEPConstants {
7     public static URI JavaDoc IN_ONLY_PATTERN;
8
9     public static URI JavaDoc IN_OPTIONAL_OUT_PATTERN;
10
11     public static URI JavaDoc IN_OUT_PATTERN;
12
13     public static URI JavaDoc ROBUST_IN_ONLY_PATTERN;
14
15     static {
16         try {
17             IN_ONLY_PATTERN = new URI JavaDoc("http://www.w3.org/2004/08/wsdl/in-only");
18
19             IN_OPTIONAL_OUT_PATTERN = new URI JavaDoc(
20                     "http://www.w3.org/2004/08/wsdl/in-opt-out");
21
22             IN_OUT_PATTERN = new URI JavaDoc("http://www.w3.org/2004/08/wsdl/in-out");
23
24             ROBUST_IN_ONLY_PATTERN = new URI JavaDoc(
25                     "http://www.w3.org/2004/08/wsdl/robust-in-only");
26         } catch (URISyntaxException JavaDoc e) {
27             // Should never be thrown
28
System.err.println("unexpected Exception in URI creation");
29             e.printStackTrace(System.err);
30         }
31     }
32 }
33
Popular Tags