code: protected final int getNodeType( Object value )
      {   	
          if (value instanceof String)
              return SelectorNodeType.STRING;
              
          if (value instanceof Boolean)
              return SelectorNodeType.BOOLEAN;
          
          return SelectorNodeType.NUMBER;
      }
docs: Get the type of a given value