Class IdentityWrapper

  • All Implemented Interfaces:

    public class IdentityWrapper
    extends java.lang.Object
    implements Wrapper
    A wrapper that does not change the content.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte id()  
      boolean isFilterable()  
      java.lang.Object unwrap​(java.lang.Object obj)  
      java.lang.Object wrap​(java.lang.Object obj)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • wrap

        public java.lang.Object wrap​(java.lang.Object obj)
        Specified by:
        wrap in interface Wrapper
      • unwrap

        public java.lang.Object unwrap​(java.lang.Object obj)
        Specified by:
        unwrap in interface Wrapper
      • id

        public byte id()
        Specified by:
        id in interface Wrapper
      • isFilterable

        public boolean isFilterable()
        Specified by:
        isFilterable in interface Wrapper
        true if the wrapped format is suitable to be indexed or filtered, thus avoiding extra unwrapping.