|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.UnmarshalState
class UnmarshalState
The state information class for the UnmarshalHandler
Field Summary | |
---|---|
(package private) UnmarshalHandler.Arguments |
args
Holds on to Constructor arguments |
(package private) java.lang.StringBuffer |
buffer
Characters read in during unmarshalling |
(package private) XMLClassDescriptor |
classDesc
The class descriptor for the Object, in case FieldDescriptor#getClassDescriptor returns null |
(package private) boolean |
derived
Is this a derived field? |
(package private) java.lang.String |
elementName
The xml element name of the current object |
(package private) XMLFieldDescriptor |
fieldDesc
The field descriptor for the Object |
(package private) java.lang.Object |
key
The key for the object. |
(package private) java.lang.String |
location
Holds the current location path |
(package private) boolean |
nil
indicates if the xsi:nil='true' attribute was present on the element |
(package private) java.lang.Object |
object
The current that we are unmarshalling to |
(package private) UnmarshalState |
parent
A reference to the parent state. |
(package private) boolean |
primitiveOrImmutable
Is the field a primitive or immutable type? |
(package private) UnmarshalState |
targetState
The UnmarshalState which contains information about the parent object for object containted within this state. |
(package private) boolean |
trailingWhitespaceRemoved
|
(package private) java.lang.Class |
type
The class of the object, mainly used for primitives |
(package private) boolean |
wrapper
Is this a wrapper state? |
(package private) boolean |
wsPreserve
The whitespace preserve flag |
Constructor Summary | |
---|---|
UnmarshalState()
|
Method Summary | |
---|---|
(package private) void |
clear()
Reinitializes all variables |
(package private) boolean |
isUsed(XMLFieldDescriptor descriptor)
|
(package private) void |
markAsNotUsed(XMLFieldDescriptor descriptor)
|
(package private) void |
markAsUsed(XMLFieldDescriptor descriptor)
Marks the given XMLFieldDescriptor as having been used |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
UnmarshalHandler.Arguments args
java.lang.String location
boolean nil
java.lang.String elementName
java.lang.StringBuffer buffer
java.lang.Object key
java.lang.Object object
java.lang.Class type
XMLFieldDescriptor fieldDesc
XMLClassDescriptor classDesc
boolean primitiveOrImmutable
boolean derived
boolean wrapper
boolean wsPreserve
boolean trailingWhitespaceRemoved
UnmarshalState targetState
UnmarshalState parent
Constructor Detail |
---|
UnmarshalState()
Method Detail |
---|
void clear()
void markAsUsed(XMLFieldDescriptor descriptor)
descriptor
- the XMLFieldDescriptor to markvoid markAsNotUsed(XMLFieldDescriptor descriptor)
boolean isUsed(XMLFieldDescriptor descriptor)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |