public class ArrayParser extends CollectionParser
| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
lazy, occursAGGREGATION_ARRAY, AGGREGATION_COLLECTION, AGGREGATION_MAP, COLLECTION, COMPLEX, MAP, SIMPLE| Constructor and Description |
|---|
ArrayParser()
Constructs a new ArrayParser.
|
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Object> |
createCollection() |
Class<?> |
getArrayType() |
Object |
getValue(ParsingContext context)
Returns the unmarshalled property value.
|
boolean |
isProperty()
Gets the value of the property property.
|
void |
setArrayType(Class<?> arrayType) |
void |
setValue(ParsingContext context,
Object value)
Sets the property value for marshaling.
|
int |
type()
Returns the property type.
|
clearValue, createValue, defines, getCollection, getIterationSize, getType, hasContent, isInvalid, length, marshal, matches, registerLocals, setType, toParamString, unmarshalgetAccessor, getIterationIndex, getMaxOccurs, getMinOccurs, getOccurs, isDynamicIteration, isIdentifier, isLazy, isOptional, marshal, setAccessor, setIdentifier, setIterationIndex, setLazy, setMaxOccurs, setMinOccurs, setOccurs, unmarshalgetParser, getSizeisSupportedChildadd, clone, find, getChildren, getFirst, getName, isDescendant, iterator, print, print, setName, size, sort, toString, updateReferencesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic boolean isProperty
isProperty in class CollectionParserpublic int type()
Propertytype in interface Propertytype in class CollectionParserProperty.SIMPLE, Property.COMPLEX, Property.AGGREGATION_ARRAY, Property.COLLECTION,
Property.AGGREGATION_COLLECTION, or Property.MAPpublic boolean isProperty()
isProperty in class CollectionParserpublic Object getValue(ParsingContext context)
ParsergetValue in interface ParsergetValue in interface PropertygetValue in class CollectionParsercontext - the ParsingContextpublic void setValue(ParsingContext context, Object value)
ParsersetValue in interface ParsersetValue in interface PropertysetValue in class CollectionParsercontext - the ParsingContextvalue - the property valueprotected Collection<Object> createCollection()
createCollection in class CollectionParserpublic Class<?> getArrayType()
public void setArrayType(Class<?> arrayType)