org.apache.maven.doxia.util
public class XmlValidator extends java.lang.Object
Constructor and Description |
---|
XmlValidator(Log log)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(java.lang.String content)
Validate an XML content with SAX.
|
public XmlValidator(Log log)
log
- a logger, not null.public void validate(java.lang.String content) throws ParseException
content
- a not null xml contentParseException
- if any.Copyright © 2005-2014. All Rights Reserved.