Package 

Class ValueDom

  • All Implemented Interfaces:
    java.lang.Comparable

    
    public class ValueDom
    extends Value implements Comparable<ValueDom>
                        

    Implementation of the DOM data type.

    • Method Summary

      Modifier and Type Method Description
      int getType()
      Document getDocument()
      Element getElement()
      String getOuterHtml() TODO: might use lot of memory so memory should be managed
      String globalId()
      boolean isNil()
      boolean isNotNil()
      boolean isDocument()
      static ValueDom get(Element element) Create a result set value for the given result set.The result set will be wrapped.
      static ValueDom get(FeaturedDocument doc)
      static ValueDom getOrNil(Element element)
      static ValueDom get(String html)
      Value convertTo(int targetType)
      long getPrecision()
      int getDisplaySize()
      int getMemory()
      String getString()
      boolean equals(Object other) TODO: We might have a better Element.
      Object getObject()
      void set(PreparedStatement prep, int parameterIndex)
      String getSQL()
      Array<byte> getBytes()
      Array<byte> getBytesNoCopy() Used by ValueDataType.
      int hashCode()
      String toString()
      int compareTo(@NotNull() ValueDom o)
      • Methods inherited from class org.h2.value.Value

        add, checkPrecision, clearCache, compareTo, compareTypeSafe, convertPrecision, convertScale, convertTo, convertToEnum, copy, copyToResult, copyToTemp, divide, equals, getBigDecimal, getBoolean, getByte, getBytes, getBytesNoCopy, getDate, getDisplaySize, getDouble, getFloat, getHigherOrder, getInputStream, getInt, getLong, getMemory, getObject, getPrecision, getReader, getResultSet, getSQL, getScale, getShort, getSignum, getSmall, getString, getTableId, getTime, getTimestamp, getTraceSQL, getType, hashCode, isLinkedToTable, modulus, multiply, negate, remove, set, subtract, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait