public class DocumentSerializationState extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
DocumentSerializationState.SerializationPropertyElement |
| Constructor and Description |
|---|
DocumentSerializationState() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSerializedProperty(String elementName,
PropertyType propertyType)
Adds an additional state element into this object.
|
String |
getElementName(int propertyIndex)
Retrieves the element name of the state element.
|
PropertyType |
getPropertyType(int propertyIndex)
Retrieves the property type of the state element.
|
int |
numPropertyElements()
The number of property elements in this state object.
|
void |
removeSerializedProperty()
Removes the last added serialized property
|
public DocumentSerializationState()
public int numPropertyElements()
public void addSerializedProperty(String elementName, PropertyType propertyType)
elementName - propertyType - the type of the property when it was serializedpublic void removeSerializedProperty()
public String getElementName(int propertyIndex)
addSerializedProperty(String, PropertyType) that hasn't been removed, and a value of
numPropertyElements() - 1 represents the element last added that hasn't been removed.propertyIndex - most be between 0 and the value returned by numPropertyElements() - 1public PropertyType getPropertyType(int propertyIndex)
addSerializedProperty(String, PropertyType) that hasn't been removed, and a value of
numPropertyElements() - 1 represents the element last added that hasn't been removed.propertyIndex - most be between 0 and the value returned by numPropertyElements() - 1Copyright © 2005–2016 The Kuali Foundation. All rights reserved.