|
||||||||||
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.PropertyElementXSDContentValidation
public class PropertyElementXSDContentValidation
Property Element that is used to specify an xsd used to validate the records that are inserted in the ResultSet
PropertyElementBase
Field Summary | |
---|---|
static java.lang.String |
propertyType
The Type of the Property this Property element produces |
Constructor Summary | |
---|---|
PropertyElementXSDContentValidation()
Default contructor required by PropertyElementBase |
|
PropertyElementXSDContentValidation(java.lang.String xsdContent)
Initializes a new PropertyElementXSDContentValidation |
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 |
getContentXSD()
retieves the xsd content |
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
Constructor Detail |
---|
public PropertyElementXSDContentValidation()
PropertyElementBase
public PropertyElementXSDContentValidation(java.lang.String xsdContent) throws java.lang.Exception
PropertyElementXSDContentValidation
xsdContent
- the xsd content
java.lang.Exception
- An unrecoverable for the operation error occuredMethod Detail |
---|
public java.lang.String getContentXSD()
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 |