public class XMLBlobCell extends BlobDataCell implements XMLValue, StringValue
BlobDataCell
implementation that encapsulates a
XMLCellContent
.Modifier and Type | Class and Description |
---|---|
static class |
XMLBlobCell.XMLSerializer
Serializer for
XMLBlobCell s. |
XMLValue.XMLUtilityFactory
StringValue.StringUtilityFactory
DataValue.UtilityFactory
USE_COMPRESSION
UTILITY
Constructor and Description |
---|
XMLBlobCell(XMLCellContent content)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
equalContent(DataValue otherValue)
This method is called when two cell of different classes but with the same preferred value are compared (e.g.
|
protected boolean |
equalsDataCell(DataCell dc)
Derived classes implement their specific equals function here.
|
static DataCellSerializer<XMLBlobCell> |
getCellSerializer()
Deprecated.
use
DataTypeRegistry.getSerializer(Class) instead |
Document |
getDocument()
Returns the parsed XML document.
|
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equalContent, hashCode
public XMLBlobCell(XMLCellContent content)
content
- the content of this cell@Deprecated public static DataCellSerializer<XMLBlobCell> getCellSerializer()
DataTypeRegistry.getSerializer(Class)
insteadpublic String getStringValue()
getStringValue
in interface StringValue
public Document getDocument()
DataCell
the returned document must not be modified by clients as data cells are read-only.getDocument
in interface XMLValue
public String toString()
protected boolean equalsDataCell(DataCell dc)
null
or a missing value,
to be of the same class like this.equalsDataCell
in class DataCell
dc
- the cell to compare this totrue
if this is equal to the argument,
false
if notprotected boolean equalContent(DataValue otherValue)
false
.equalContent
in class DataCell
otherValue
- the other data valuetrue
if the content of both cells is the same, false
otherwisepublic int hashCode()
DataCell
objects return the same hash code. Note that two cells can be equal according to
DataCell.equalsDataCell(DataCell)
and DataCell.equalContent(DataValue)
so two different cells implementations
with the same preferred value must have the same hash code.hashCode
in class DataCell
DataCell
Object.hashCode()
,
DataCell.equals(java.lang.Object)
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.