< prev index next >
src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/util/FastInfosetReflection.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -42,21 +42,21 @@
public class FastInfosetReflection {
/**
* FI DOMDocumentParser constructor using reflection.
*/
- static Constructor fiDOMDocumentParser_new;
+ static Constructor<?> fiDOMDocumentParser_new;
/**
* FI <code>DOMDocumentParser.parse()</code> method via reflection.
*/
static Method fiDOMDocumentParser_parse;
/**
* FI DOMDocumentSerializer constructor using reflection.
*/
- static Constructor fiDOMDocumentSerializer_new;
+ static Constructor<?> fiDOMDocumentSerializer_new;
/**
* FI <code>FastInfosetSource.serialize(Document)</code> method via reflection.
*/
static Method fiDOMDocumentSerializer_serialize;
@@ -67,16 +67,16 @@
static Method fiDOMDocumentSerializer_setOutputStream;
/**
* FI FastInfosetSource constructor using reflection.
*/
- static Class fiFastInfosetSource_class;
+ static Class<?> fiFastInfosetSource_class;
/**
* FI FastInfosetSource constructor using reflection.
*/
- static Constructor fiFastInfosetSource_new;
+ static Constructor<?> fiFastInfosetSource_new;
/**
* FI <code>FastInfosetSource.getInputStream()</code> method via reflection.
*/
static Method fiFastInfosetSource_getInputStream;
@@ -87,20 +87,20 @@
static Method fiFastInfosetSource_setInputStream;
/**
* FI FastInfosetResult constructor using reflection.
*/
- static Constructor fiFastInfosetResult_new;
+ static Constructor<?> fiFastInfosetResult_new;
/**
* FI <code>FastInfosetResult.getOutputSTream()</code> method via reflection.
*/
static Method fiFastInfosetResult_getOutputStream;
static {
try {
- Class clazz = Class.forName("com.sun.xml.internal.fastinfoset.dom.DOMDocumentParser");
+ Class<?> clazz = Class.forName("com.sun.xml.internal.fastinfoset.dom.DOMDocumentParser");
fiDOMDocumentParser_new = clazz.getConstructor((Class[]) null);
fiDOMDocumentParser_parse = clazz.getMethod("parse",
new Class[] { org.w3c.dom.Document.class, java.io.InputStream.class });
clazz = Class.forName("com.sun.xml.internal.fastinfoset.dom.DOMDocumentSerializer");
@@ -177,11 +177,11 @@
public static boolean isFastInfosetSource(Source source) {
return source.getClass().getName().equals(
"com.sun.xml.internal.org.jvnet.fastinfoset.FastInfosetSource");
}
- public static Class getFastInfosetSource_class() {
+ public static Class<?> getFastInfosetSource_class() {
if (fiFastInfosetSource_class == null) {
throw new RuntimeException("Unable to locate Fast Infoset implementation");
}
return fiFastInfosetSource_class;
< prev index next >