/** * Method invoked by the UiBinder to retrieve a UiBinder field inside an SVG document * @param svgElement * The root element of the SVG document * @param expr * An XPath to reach the field * @return the retrieved UiBinder field */ public static OMNode getUiBinderField(Element svgElement, String expr) { Element elt = getUiBinderField_(svgElement, expr); return OMNode.convert(elt); }
/** * Method invoked by the UiBinder to retrieve a UiBinder field inside an SVG document * @param svgElement * The root element of the SVG document * @param expr * An XPath to reach the field * @return the retrieved UiBinder field */ public static OMNode getUiBinderField(Element svgElement, String expr) { Element elt = getUiBinderField_(svgElement, expr); return OMNode.convert(elt); }