code: public static final Box getBox(CSSBoxView v)
      {
  
          try
          {
              AttributeSet attr = v.getAttributes();
              return (Box) attr.getAttribute(Constants.ATTRIBUTE_BOX_REFERENCE);
          } catch (Exception e)
          {
              throw new IllegalStateException(e);
          }
      }
docs: Gets the box reference from properties
  
  @param v
  the view, instance of CSSBoxView.
  @return the box set in properties.