org.vectomatic.dev.svg.impl.gen
Class SVGValidator
java.lang.Object
org.vectomatic.dev.svg.impl.gen.SVGValidator
public class SVGValidator
- extends Object
Class to validate an SVG file against the SVG 1.1 XSD schema
- Author:
- laaglu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validate
public static void validate(String rawSvg,
String systemId,
com.google.gwt.core.ext.TreeLogger logger,
UiBinderWriter writer)
throws com.google.gwt.core.ext.UnableToCompleteException
- Validates the specified SVG input
- Parameters:
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)
- Throws:
com.google.gwt.core.ext.UnableToCompleteException - If validation error occur
Copyright © 2012. All Rights Reserved.