Module com.sun.xml.bind
Class UnmarshallerChain
- java.lang.Object
-
- org.glassfish.jaxb.runtime.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.
-
-
Field Summary
Fields Modifier and Type Field Description JAXBContextImpl
context
-
Constructor Summary
Constructors Constructor Description UnmarshallerChain(JAXBContextImpl context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
allocateOffset()
Allocates a newScope
offset.int
getScopeSize()
Gets the number of total scope offset allocated.
-
-
-
Field Detail
-
context
public final JAXBContextImpl context
-
-
Constructor Detail
-
UnmarshallerChain
public UnmarshallerChain(JAXBContextImpl context)
-
-
Method Detail
-
allocateOffset
public int allocateOffset()
Allocates a newScope
offset.
-
getScopeSize
public int getScopeSize()
Gets the number of total scope offset allocated.
-
-