|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.UnmarshalState
public 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. |
int |
_expectedIndex
Index of next expected sequence element; used during validation. |
(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. |
boolean |
_withinMultivaluedElement
Indicates (during validation) whether the current field descriptor points to a multi-valued element. |
(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
public int _expectedIndex
public boolean _withinMultivaluedElement
UnmarshalState _targetState
UnmarshalState _parent
Constructor Detail |
---|
UnmarshalState()
Method Detail |
---|
void clear()
void markAsUsed(XMLFieldDescriptor descriptor)
descriptor
- the XMLFieldDescriptor to mark.void markAsNotUsed(XMLFieldDescriptor descriptor)
boolean isUsed(XMLFieldDescriptor descriptor)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |