public abstract class PropertyElementBase extends Object
| Constructor and Description |
|---|
PropertyElementBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
fromXML(String xml)
Method to be implemented that will handle the population of the custom Property element.
|
String |
getType()
Retrieves the Type of the current property
|
static String |
getType(String xml)
Retrieves the Type of the provided property serialization
|
void |
RS_fromXML(String xml)
Populates the current property element with provided property serialization
|
String |
RS_toXML()
Creates a serialization of the current property element that can be added to the
ResultSet
head part. |
void |
setType(String type)
Sets the Type of the current property element
|
abstract String |
toXML()
Method to be implemented that will handle the serialization of the custom Property element.
|
public final String getType() throws Exception
Exception - An unrecoverable for the operation error has occuredpublic final void setType(String type) throws Exception
type - The type this property element hasException - An unrecoverable for the operation error has occuredpublic static final String getType(String xml) throws Exception
xml - the serialixed propertyException - An unrecoverable for the operation error has occuredpublic final String RS_toXML() throws Exception
ResultSet
head part.Exception - An unrecoverable for the operation error has occuredpublic final void RS_fromXML(String xml) throws Exception
xml - The serialized propertyException - An unrecoverable for the operation error has occuredpublic abstract void fromXML(String xml) throws Exception
RS_fromXML(String) after it has striped the xml
serialization of the type propertypublic abstract String toXML() throws Exception
RS_toXML() which then enriches the returned serialization
to produce a valid property xml stringException - The extending element can specify the Exception that is thrownPropertyElementBase#fromXML()Copyright © 2020. All Rights Reserved.