com.sun.xml.bind.v2.runtime.property
Class UnmarshallerChain
java.lang.Object
com.sun.xml.bind.v2.runtime.property.UnmarshallerChain
public final class UnmarshallerChain
- extends Object
Pass around a 'ticket dispenser' when creating new
unmarshallers. This controls the index of the slot
allocated to the chain of handlers.
A ticket dispenser also maintains the offset for handlers
to access state slots. A handler records this value when it's created.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
public final JAXBContextImpl context
UnmarshallerChain
public UnmarshallerChain(JAXBContextImpl context)
allocateOffset
public int allocateOffset()
- Allocates a new
Scope
offset.
getScopeSize
public int getScopeSize()
- Gets the number of total scope offset allocated.