public static class SerializationContext.CollectionContext extends SerializationContext
SerializationContext.AttributeContext, SerializationContext.CollectionContext, SerializationContext.ObjectContextparent| Constructor and Description |
|---|
CollectionContext(SerializationContext parent,
Object col,
TypeDefinition colType,
TypeDefinition elementType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCollection() |
TypeDefinition |
getCollectionType() |
SerializationContext.ObjectContext |
getContainerObjectContext()
Return the first ObjectContext in the ancestors, or null.
|
TypeDefinition |
getElementType() |
Iterator<?> |
getIterator()
Get an iterator on the collection.
|
getParentpublic CollectionContext(SerializationContext parent, Object col, TypeDefinition colType, TypeDefinition elementType)
public Object getCollection()
public Iterator<?> getIterator()
public TypeDefinition getCollectionType()
public TypeDefinition getElementType()
public SerializationContext.ObjectContext getContainerObjectContext()
SerializationContextgetContainerObjectContext in class SerializationContextCopyright © 2019. All rights reserved.