Package com.ctc.wstx.compat
Class QNameCreator
java.lang.Object
com.ctc.wstx.compat.QNameCreator
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
Helper class used to encapsulate calls to the missing method. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final QNameCreator.Helper
Creator object that creates QNames using proper 3-arg constructor. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_helper
Creator object that creates QNames using proper 3-arg constructor. If dynamic class loading fails
-
-
Constructor Details
-
QNameCreator
public QNameCreator()
-
-
Method Details
-
create
-