public class XmlValidator extends Object
Constructor and Description |
---|
XmlValidator(Log log)
Constructor.
|
public XmlValidator(Log log)
log
- a logger, not null.public void validate(String content) throws ParseException
content
- a not null xml contentParseException
- if any.Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.