public class SVGValidator extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
validate(String rawSvg,
String systemId,
com.google.gwt.core.ext.TreeLogger logger,
UiBinderWriter writer)
Validates the specified SVG input
|
public static void validate(String rawSvg, String systemId, com.google.gwt.core.ext.TreeLogger logger, UiBinderWriter writer) throws com.google.gwt.core.ext.UnableToCompleteException
rawSvg - The SVG input to validatesystemId - The URL of the resource being validatedlogger - A logger to report validation errors (if the method is invoked
to validate an SVGResource or an
ExternalSVGResource)writer - A writer to report validation errors (if the method is
invoked to validate a UiBinder template)com.google.gwt.core.ext.UnableToCompleteException - If validation error occurCopyright © 2018. All Rights Reserved.