code: protected <T extends CSSProperty> boolean genericTermLength(Term<?> term,
  			String propertyName, T lengthIdentification, ValueRange range,
  			Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
  
          if (term instanceof TermInteger  && ((TermInteger) term).getUnit().equals(TermNumber.Unit.none)) {
              if (CSSFactory.getImplyPixelLength() || ((TermInteger) term).getValue() == 0) { //0 is always allowed with no units
                  // convert to length with units of px
                  TermLength tl = tf.createLength(((TermInteger) term).getValue(), TermNumber.Unit.px);
                  return genericTerm(TermLength.class, tl, propertyName, lengthIdentification, range, properties, values);
              } else {
                  return false;
              }
          }
          else if (term instanceof TermLength) { 
              return genericTerm(TermLength.class, term, propertyName, lengthIdentification, range, properties, values); 
          }
  
          return false;
  
  	}
docs: Converts term into TermLength and stores values and types in maps
  
  @param <T>
  CSSProperty
  @param term
  Term to be parsed
  @param propertyName
  How to store colorIdentificiton
  @param lengthIdentification
  What to store under propertyName
  @param properties
  Map to store property types
  @param values
  Map to store property values
  @return <code>true</code> in case of success, <code>false</code>
  otherwise