55 * java.lang.Thread#getContextClassLoader() current thread's context class loader}
56 * to attempt to load the service. If the context class
57 * loader is null, the {@linkplain
58 * ClassLoader#getSystemClassLoader() system class loader} will be used.
59 * <br>
60 * In case of {@link java.util.ServiceConfigurationError service
61 * configuration error} a {@link javax.xml.datatype.DatatypeConfigurationException}
62 * will be thrown.
63 * </li>
64 * <li>
65 * The final mechanism is to attempt to instantiate the <code>Class</code> specified by
66 * {@link #DATATYPEFACTORY_IMPLEMENTATION_CLASS}.
67 * Any Exception thrown during the instantiation process is wrapped as a {@link DatatypeConfigurationException}.
68 * </li>
69 * </ol>
70 *
71 * @author <a href="mailto:Joseph.Fialli@Sun.COM">Joseph Fialli</a>
72 * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
73 * @author <a href="mailto:Neeraj.Bajaj@sun.com">Neeraj Bajaj</a>
74 *
75 * @version $Revision: 1.13 $, $Date: 2010/03/11 23:10:53 $
76 * @since 1.5
77 */
78 public abstract class DatatypeFactory {
79
80 /**
81 * <p>Default property name as defined in JSR 206: Java(TM) API for XML Processing (JAXP) 1.3.</p>
82 *
83 * <p>Default value is <code>javax.xml.datatype.DatatypeFactory</code>.</p>
84 */
85 public static final String DATATYPEFACTORY_PROPERTY =
86 // We use a String constant here, rather than calling
87 // DatatypeFactory.class.getName() - in order to make javadoc
88 // generate a See Also: Constant Field Value link.
89 "javax.xml.datatype.DatatypeFactory";
90
91 /**
92 * <p>Default implementation class name as defined in
93 * <em>JSR 206: Java(TM) API for XML Processing (JAXP) 1.3</em>.</p>
94 *
95 * <p>Implementers should specify the name of an appropriate class
|
55 * java.lang.Thread#getContextClassLoader() current thread's context class loader}
56 * to attempt to load the service. If the context class
57 * loader is null, the {@linkplain
58 * ClassLoader#getSystemClassLoader() system class loader} will be used.
59 * <br>
60 * In case of {@link java.util.ServiceConfigurationError service
61 * configuration error} a {@link javax.xml.datatype.DatatypeConfigurationException}
62 * will be thrown.
63 * </li>
64 * <li>
65 * The final mechanism is to attempt to instantiate the <code>Class</code> specified by
66 * {@link #DATATYPEFACTORY_IMPLEMENTATION_CLASS}.
67 * Any Exception thrown during the instantiation process is wrapped as a {@link DatatypeConfigurationException}.
68 * </li>
69 * </ol>
70 *
71 * @author <a href="mailto:Joseph.Fialli@Sun.COM">Joseph Fialli</a>
72 * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
73 * @author <a href="mailto:Neeraj.Bajaj@sun.com">Neeraj Bajaj</a>
74 *
75 * @since 1.5
76 */
77 public abstract class DatatypeFactory {
78
79 /**
80 * <p>Default property name as defined in JSR 206: Java(TM) API for XML Processing (JAXP) 1.3.</p>
81 *
82 * <p>Default value is <code>javax.xml.datatype.DatatypeFactory</code>.</p>
83 */
84 public static final String DATATYPEFACTORY_PROPERTY =
85 // We use a String constant here, rather than calling
86 // DatatypeFactory.class.getName() - in order to make javadoc
87 // generate a See Also: Constant Field Value link.
88 "javax.xml.datatype.DatatypeFactory";
89
90 /**
91 * <p>Default implementation class name as defined in
92 * <em>JSR 206: Java(TM) API for XML Processing (JAXP) 1.3</em>.</p>
93 *
94 * <p>Implementers should specify the name of an appropriate class
|