public static SvgImageGroup parseGroup(String graphicsXML) {
        int             start, end;
        String          gContent, token, transform;
        StringTokenizer st;
        SvgImageGroup   group;
        
        group = new SvgImageGroup();
        
        if (graphicsXML.startsWith("<g") && graphicsXML.endsWith("</g>")) {            
            gContent = graphicsXML.substring(3, graphicsXML.length() - 4);
            st       = new StringTokenizer(gContent, "<");
                                   
            while (st.hasMoreTokens()) {
                token = "<" + st.nextToken().trim();
                
                if (token.startsWith("<path")) {
                    group.addElement(parsePath(token));
                } else if (token.startsWith("<rect")) {
                    group.addElement(parseRectangle(token));
                } else if (token.startsWith("<transform")) {
                    group.setTransformXML(token);
                }
            }
        }
        
        return group;
    }