public StateAttribute(String str){
  super(OctetUtils.toOctets(AttributeType.STATE,str));
  state=new String(super.getOctets(),2,super.getOctets().length - 2,Charset.forName("utf-8"));
}

public StateAttribute ( String str ) { super ( OctetUtils . toOctets ( AttributeType . STATE , str ) ) ; state = new String ( super . getOctets ( ) , 2 , super . getOctets ( ) . length - 2 , Charset . forName ( "utf-8" ) ) ; }
creates an instance to contain the given string .
