public class SVGValidator extends Object
Modifier and Type | Method and Description |
---|---|
static void |
validate(String rawSvg,
String systemId,
TreeLogger logger,
UiBinderWriter writer)
Validates the specified SVG input
|
public static void validate(String rawSvg, String systemId, TreeLogger logger, UiBinderWriter writer) throws 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)UnableToCompleteException
- If validation error occur