org.exolab.castor.xml
class UnmarshalState extends Object
UNKNOWN: $Revision: 1.8 $ $Date: 2004/12/11 09:25:45 $
Field Summary | |
---|---|
UnmarshalHandler.Arguments | args
Holds on to Constructor arguments |
StringBuffer | buffer
Characters read in during unmarshalling |
XMLClassDescriptor | classDesc
The class descriptor for the Object, in case
FieldDescriptor#getClassDescriptor returns null |
boolean | derived
Is this a derived field? |
String | elementName
The xml element name of the current object |
XMLFieldDescriptor | fieldDesc
The field descriptor for the Object |
Object | key
The key for the object. |
String | location
Holds the current location path |
boolean | nil
indicates if the xsi:nil='true' attribute
was present on the element |
Object | object
The current that we are unmarshalling to |
UnmarshalState | parent
A reference to the parent state. |
boolean | primitiveOrImmutable
Is the field a primitive or immutable type? |
UnmarshalState | targetState
The UnmarshalState which contains information
about the parent object for object containted
within this state. |
boolean | trailingWhitespaceRemoved |
Class | type
The class of the object, mainly used for primitives |
boolean | wrapper
Is this a wrapper state? |
boolean | wsPreserve
The whitespace preserve flag |
Constructor Summary | |
---|---|
UnmarshalState() |
Method Summary | |
---|---|
void | clear()
Reinitializes all variables |
boolean | isUsed(XMLFieldDescriptor descriptor) |
void | markAsNotUsed(XMLFieldDescriptor descriptor) |
void | markAsUsed(XMLFieldDescriptor descriptor)
Marks the given XMLFieldDescriptor as having been used |
Parameters: descriptor the XMLFieldDescriptor to mark