Package Functions | |
UnmarshalState () | |
void | clear () |
void | markAsUsed (XMLFieldDescriptor descriptor) |
void | markAsNotUsed (XMLFieldDescriptor descriptor) |
boolean | isUsed (XMLFieldDescriptor descriptor) |
Package Attributes | |
UnmarshalHandler.Arguments | args = null |
String | location = "" |
boolean | nil = false |
String | elementName = null |
StringBuffer | buffer = null |
Object | key = null |
Object | object = null |
Class | type = null |
XMLFieldDescriptor | fieldDesc = null |
XMLClassDescriptor | classDesc = null |
boolean | primitiveOrImmutable = false |
boolean | derived = false |
boolean | wrapper = false |
boolean | wsPreserve = false |
boolean | trailingWhitespaceRemoved = false |
UnmarshalState | targetState = null |
UnmarshalState | parent = null |
The state information class for the UnmarshalHandler
org.exolab.castor.xml.UnmarshalState.UnmarshalState | ( | ) | [package] |
void org.exolab.castor.xml.UnmarshalState.clear | ( | ) | [package] |
Reinitializes all variables
References org.exolab.castor.xml.UnmarshalState.args, org.exolab.castor.xml.UnmarshalState.buffer, org.exolab.castor.xml.UnmarshalState.classDesc, org.exolab.castor.xml.UnmarshalState.derived, org.exolab.castor.xml.UnmarshalState.elementName, org.exolab.castor.xml.UnmarshalState.fieldDesc, org.exolab.castor.xml.UnmarshalState.key, org.exolab.castor.xml.UnmarshalState.location, org.exolab.castor.xml.UnmarshalState.nil, org.exolab.castor.xml.UnmarshalState.parent, org.exolab.castor.xml.UnmarshalState.primitiveOrImmutable, org.exolab.castor.xml.UnmarshalState.targetState, org.exolab.castor.xml.UnmarshalState.trailingWhitespaceRemoved, org.exolab.castor.xml.UnmarshalState.type, org.exolab.castor.xml.UnmarshalState.wrapper, and org.exolab.castor.xml.UnmarshalState.wsPreserve.
boolean org.exolab.castor.xml.UnmarshalState.isUsed | ( | XMLFieldDescriptor | descriptor | ) | [package] |
Referenced by org.exolab.castor.xml.UnmarshalHandler.endElement().
void org.exolab.castor.xml.UnmarshalState.markAsNotUsed | ( | XMLFieldDescriptor | descriptor | ) | [package] |
void org.exolab.castor.xml.UnmarshalState.markAsUsed | ( | XMLFieldDescriptor | descriptor | ) | [package] |
Marks the given XMLFieldDescriptor as having been used
descriptor | the XMLFieldDescriptor to mark |
Referenced by org.exolab.castor.xml.UnmarshalHandler.endElement().
UnmarshalHandler.Arguments org.exolab.castor.xml.UnmarshalState.args = null [package] |
Holds on to Constructor arguments
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
StringBuffer org.exolab.castor.xml.UnmarshalState.buffer = null [package] |
Characters read in during unmarshalling
Referenced by org.exolab.castor.xml.UnmarshalHandler.characters(), org.exolab.castor.xml.UnmarshalState.clear(), org.exolab.castor.xml.UnmarshalHandler.endElement(), and org.exolab.castor.xml.UnmarshalHandler.ignorableWhitespace().
XMLClassDescriptor org.exolab.castor.xml.UnmarshalState.classDesc = null [package] |
The class descriptor for the Object, in case FieldDescriptor.getClassDescriptor returns null
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
boolean org.exolab.castor.xml.UnmarshalState.derived = false [package] |
Is this a derived field?
Referenced by org.exolab.castor.xml.UnmarshalState.clear().
String org.exolab.castor.xml.UnmarshalState.elementName = null [package] |
The xml element name of the current object
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
XMLFieldDescriptor org.exolab.castor.xml.UnmarshalState.fieldDesc = null [package] |
The field descriptor for the Object
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
Object org.exolab.castor.xml.UnmarshalState.key = null [package] |
The key for the object. This may be null if no key or identity has been specified.
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
String org.exolab.castor.xml.UnmarshalState.location = "" [package] |
Holds the current location path
Referenced by org.exolab.castor.xml.UnmarshalState.clear().
boolean org.exolab.castor.xml.UnmarshalState.nil = false [package] |
indicates if the xsi:nil='true' attribute was present on the element
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
Object org.exolab.castor.xml.UnmarshalState.object = null [package] |
The current that we are unmarshalling to
Referenced by org.exolab.castor.xml.UnmarshalHandler.endElement(), org.exolab.castor.xml.UnmarshalHandler.getCurrentObject(), and org.exolab.castor.xml.UnmarshalHandler.getObject().
UnmarshalState org.exolab.castor.xml.UnmarshalState.parent = null [package] |
A reference to the parent state.
Referenced by org.exolab.castor.xml.UnmarshalState.clear().
boolean org.exolab.castor.xml.UnmarshalState.primitiveOrImmutable = false [package] |
Is the field a primitive or immutable type?
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
UnmarshalState org.exolab.castor.xml.UnmarshalState.targetState = null [package] |
The UnmarshalState which contains information about the parent object for object containted within this state. Used when handling element containers/wrappers.
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
boolean org.exolab.castor.xml.UnmarshalState.trailingWhitespaceRemoved = false [package] |
Class org.exolab.castor.xml.UnmarshalState.type = null [package] |
The class of the object, mainly used for primitives
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
boolean org.exolab.castor.xml.UnmarshalState.wrapper = false [package] |
Is this a wrapper state?
Referenced by org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.endElement().
boolean org.exolab.castor.xml.UnmarshalState.wsPreserve = false [package] |
The whitespace preserve flag
Referenced by org.exolab.castor.xml.UnmarshalHandler.characters(), org.exolab.castor.xml.UnmarshalState.clear(), and org.exolab.castor.xml.UnmarshalHandler.ignorableWhitespace().