public List<String> compactAttributeValue(String value,int start){
  List<String> result=new ArrayList<String>();
  if (start > value.length()) {
    result.add(value);
    return result;
  }
  WbXmlAttributeValueDef valueDef=new WbXmlAttributeValueDef(value.substring(start),(byte)0x0,(byte)0x0);
  for (  WbXmlAttributeValueDef attrVal : attrValuesByValue.tailSet(valueDef)) {
    List<String> found=matches(value,attrVal.getValue(),start,true);
    if (found != null) {
      return found;
    }
  }
  result.add(value);
  return result;
}

public List < String > compactAttributeValue ( String value , int start ) { List < String > result = new ArrayList < String > ( ) ; if ( start > value . length ( ) ) { result . add ( value ) ; return result ; } WbXmlAttributeValueDef valueDef = new WbXmlAttributeValueDef ( value . substring ( start ) , ( byte ) 0x0 , ( byte ) 0x0 ) ; for ( WbXmlAttributeValueDef attrVal : attrValuesByValue . tailSet ( valueDef ) ) { List < String > found = matches ( value , attrVal . getValue ( ) , start , true ) ; if ( found != null ) { return found ; } } result . add ( value ) ; return result ; }
recursive methodthe that searches for possible compaction matches of an attribute value against the definition ( attribute values or extensions can be used to compact it ) . this method searches in a specified order , first attribute values and then extension . in both larger definitions are taken into account first .
