com.ctc.wstx.compat
Class JdkImpl
java.lang.Object
com.ctc.wstx.compat.JdkImpl
- Direct Known Subclasses:
- Jdk12Impl
- public abstract class JdkImpl
- extends java.lang.Object
This is the interface used to access JDK-dependant functionality; generally
things that later JDKs have in their APIs, but that can be simulated
with earlier JDKs to some degree.
|
Constructor Summary |
protected |
JdkImpl()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdkImpl
protected JdkImpl()
getEmptyList
public abstract java.util.List getEmptyList()
getEmptyMap
public abstract java.util.Map getEmptyMap()
getEmptySet
public abstract java.util.Set getEmptySet()
getInsertOrderedMap
public abstract java.util.HashMap getInsertOrderedMap()
getInsertOrderedMap
public abstract java.util.HashMap getInsertOrderedMap(int initialSize)
getLRULimitMap
public abstract java.util.HashMap getLRULimitMap(int maxSize)
setInitCause
public abstract boolean setInitCause(java.lang.Throwable newT,
java.lang.Throwable rootT)
- Method that sets init cause of the specified Throwable to be
another specified Throwable. Note: not all JDKs support such
functionality.
- Returns:
- True if call succeeds, false if not.