|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.DataCell
org.knime.core.data.xml.PMMLCell
public class PMMLCell
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.knime.core.data.xml.XMLValue |
|---|
XMLValue.XMLUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
|---|
DataValue.UtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.StringValue |
|---|
StringValue.StringUtilityFactory |
| Field Summary | |
|---|---|
static DataType |
TYPE
Type for this cell implementation. |
| Fields inherited from interface org.knime.core.data.xml.XMLValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.StringValue |
|---|
UTILITY |
| Constructor Summary | |
|---|---|
PMMLCell(PMMLCellContent content)
Create a new instance. |
|
| Method Summary | |
|---|---|
protected boolean |
equalsDataCell(DataCell dc)
Derived classes implement their specific equals function here. |
static DataCellSerializer<PMMLCell> |
getCellSerializer()
Returns the serializer for XML cells. |
protected XMLCellContent |
getContent()
|
Document |
getDocument()
Returns the parsed XML document. |
List<Node> |
getModels()
|
List<Node> |
getModels(org.knime.core.pmml.PMMLModelType type)
|
Set<org.knime.core.pmml.PMMLModelType> |
getModelTypes()
|
String |
getPMMLVersion()
|
static Class<? extends DataValue> |
getPreferredValueClass()
Returns the preferred value class for XML cells which is PMMLValue. |
String |
getStringValue()
|
int |
hashCode()
This method must be implemented in order to ensure that two equal DataCell objects return the same hash code. |
String |
toString()
Returns the String representation of this cell's value. |
| Methods inherited from class org.knime.core.data.DataCell |
|---|
equals, getType, isMissing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DataType TYPE
PMMLCellFactory.TYPE.
| Constructor Detail |
|---|
PMMLCell(PMMLCellContent content)
content - the content of this cell| Method Detail |
|---|
public static DataCellSerializer<PMMLCell> getCellSerializer()
public static Class<? extends DataValue> getPreferredValueClass()
PMMLValue.
public Document getDocument()
getDocument in interface XMLValuepublic String toString()
toString in class DataCellprotected boolean equalsDataCell(DataCell dc)
null or a missing value,
to be of the same class like this.
equalsDataCell in class DataCelldc - the cell to compare this to
true if this is equal to the argument,
false if notpublic int hashCode()
DataCell objects return the same hash code.
hashCode in class DataCellDataCellObject.hashCode(),
DataCell.equals(java.lang.Object)public String getStringValue()
getStringValue in interface StringValueprotected XMLCellContent getContent()
public String getPMMLVersion()
getPMMLVersion in interface PMMLValuepublic Set<org.knime.core.pmml.PMMLModelType> getModelTypes()
getModelTypes in interface PMMLValuePMMLModelTypepublic List<Node> getModels(org.knime.core.pmml.PMMLModelType type)
getModels in interface PMMLValuetype - the model type of the models
public List<Node> getModels()
getModels in interface PMMLValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||