com.ctc.wstx.compat
Class QNameCreator
java.lang.Object
com.ctc.wstx.compat.QNameCreator
public final class QNameCreator
- extends Object
Helper class used to solve [WSTX-174]: some older AppServers were
shipped with incompatible version of QName class, which is missing
the 3 argument constructor. To address this, we'll use bit of
ClassLoader hacker to gracefully (?) downgrade to using 2 arg
alternatives if necessary.
Note: choice of java.util.logging logging is only based on the
fact that it is guaranteed to be present (we have JDK 1.4 baseline
requirement) so that we do not add external dependencies.
It is not a recommendation for using JUL per se; most users would
do well to just use slf4j or log4j directly instead.
- Since:
- 3.2.8
- Author:
- Tatu Saloranta
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QNameCreator
public QNameCreator()
create
public static QName create(String uri,
String localName,
String prefix)
Copyright © 2011 Codehaus. All Rights Reserved.