|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementBase
org.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementType
public class PropertyElementType
Property Element that is used to set a specific type to the ResultSet
PropertyElementBase
Field Summary | |
---|---|
static java.lang.String |
BLOB
The RS is of this type |
static java.lang.String |
propertyType
The Type of the Property this Property element produces |
static java.lang.String |
TEXT
The RS is of this type |
static java.lang.String |
XML
The RS is of this type |
Constructor Summary | |
---|---|
PropertyElementType()
Default contructor required by PropertyElementBase |
|
PropertyElementType(java.lang.String type)
Initializes a new PropertyElementType |
Method Summary | |
---|---|
void |
fromXML(java.lang.String xml)
Method to be implemented that will handle the population of the custom Property element. |
java.lang.String |
toXML()
Method to be implemented that will handle the serialization of the custom Property element. |
Methods inherited from class org.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementBase |
---|
getType, getType, RS_fromXML, RS_toXML, setType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String propertyType
public static java.lang.String XML
public static java.lang.String TEXT
public static java.lang.String BLOB
Constructor Detail |
---|
public PropertyElementType()
PropertyElementBase
public PropertyElementType(java.lang.String type) throws java.lang.Exception
PropertyElementType
type
- The tyoe of this ResultSet
java.lang.Exception
- An unrecoverable for the operation error occuredMethod Detail |
---|
public java.lang.String toXML() throws java.lang.Exception
PropertyElementBase
PropertyElementBase.RS_toXML()
which then enriches the returned serialization
to produce a valid property xml string
toXML
in class PropertyElementBase
java.lang.Exception
- An unrecoverable for the operation error occuredPropertyElementBase.toXML()
public void fromXML(java.lang.String xml) throws java.lang.Exception
PropertyElementBase
PropertyElementBase.RS_fromXML(String)
after it has striped the xml
serialization of the type property
fromXML
in class PropertyElementBase
xml
- The serialized string to populate the insance from
java.lang.Exception
- An unrecoverable for the operation error occuredPropertyElementBase.fromXML(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |