|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.runtime.unmarshaller.Scope<BeanT,PropT,ItemT,PackT>
public final class Scope<BeanT,PropT,ItemT,PackT>
Holds the information about packing scope.
When no packing is started yet, all the fields should be set to null.
Field Summary | |
---|---|
UnmarshallingContext |
context
|
Constructor Summary | |
---|---|
Scope(UnmarshallingContext context)
|
Method Summary | |
---|---|
void |
add(Accessor<BeanT,PropT> acc,
Lister<BeanT,PropT,ItemT,PackT> lister,
ItemT value)
Adds a new item to this packing scope. |
void |
finish()
Finishes up the current packing in progress (if any) and resets this object. |
boolean |
hasStarted()
Returns true if this scope object is filled by a packing in progress. |
void |
reset()
Initializes all the fields to null. |
void |
start(Accessor<BeanT,PropT> acc,
Lister<BeanT,PropT,ItemT,PackT> lister)
Starts the packing scope, without adding any item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final UnmarshallingContext context
Constructor Detail |
---|
Scope(UnmarshallingContext context)
Method Detail |
---|
public boolean hasStarted()
public void reset()
public void finish() throws AccessorException
AccessorException
public void add(Accessor<BeanT,PropT> acc, Lister<BeanT,PropT,ItemT,PackT> lister, ItemT value) throws SAXException
SAXException
public void start(Accessor<BeanT,PropT> acc, Lister<BeanT,PropT,ItemT,PackT> lister) throws SAXException
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |