private void readGraphicPropertiesElement(IXMLElement elem,HashMap<AttributeKey,Object> a) throws IOException {
  if (elem.hasAttribute("stroke",DRAWING_NAMESPACE)) {
    STROKE_STYLE.put(a,(StrokeStyle)elem.getAttribute("stroke",DRAWING_NAMESPACE,STROKE_STYLES,null));
  }
  if (elem.hasAttribute("stroke-width",SVG_NAMESPACE)) {
    STROKE_WIDTH.put(a,toLength(elem.getAttribute("stroke-width",SVG_NAMESPACE,null)));
  }
  if (elem.hasAttribute("stroke-color",SVG_NAMESPACE)) {
    STROKE_COLOR.put(a,toColor(elem.getAttribute("stroke-color",SVG_NAMESPACE,null)));
  }
  if (elem.hasAttribute("fill",DRAWING_NAMESPACE)) {
    FILL_STYLE.put(a,(FillStyle)elem.getAttribute("fill",DRAWING_NAMESPACE,FILL_STYLES,null));
  }
  if (elem.hasAttribute("fill-color",DRAWING_NAMESPACE)) {
    FILL_COLOR.put(a,toColor(elem.getAttribute("fill-color",DRAWING_NAMESPACE,null)));
  }
  for (  IXMLElement child : elem.getChildren()) {
    String ns=child.getNamespace();
    String name=child.getName();
  }
}

private void readGraphicPropertiesElement ( IXMLElement elem , HashMap < AttributeKey , Object > a ) throws IOException { if ( elem . hasAttribute ( "stroke" , DRAWING_NAMESPACE ) ) { STROKE_STYLE . put ( a , ( StrokeStyle ) elem . getAttribute ( "stroke" , DRAWING_NAMESPACE , STROKE_STYLES , null ) ) ; } if ( elem . hasAttribute ( "stroke-width" , SVG_NAMESPACE ) ) { STROKE_WIDTH . put ( a , toLength ( elem . getAttribute ( "stroke-width" , SVG_NAMESPACE , null ) ) ) ; } if ( elem . hasAttribute ( "stroke-color" , SVG_NAMESPACE ) ) { STROKE_COLOR . put ( a , toColor ( elem . getAttribute ( "stroke-color" , SVG_NAMESPACE , null ) ) ) ; } if ( elem . hasAttribute ( "fill" , DRAWING_NAMESPACE ) ) { FILL_STYLE . put ( a , ( FillStyle ) elem . getAttribute ( "fill" , DRAWING_NAMESPACE , FILL_STYLES , null ) ) ; } if ( elem . hasAttribute ( "fill-color" , DRAWING_NAMESPACE ) ) { FILL_COLOR . put ( a , toColor ( elem . getAttribute ( "fill-color" , DRAWING_NAMESPACE , null ) ) ) ; } for ( IXMLElement child : elem . getChildren ( ) ) { String ns = child . getNamespace ( ) ; String name = child . getName ( ) ; } }
reads a & lt ; style : graphic - properties & gt ; element from the specified xml element . < p >
