public class XmlValidator extends Object
Constructor and Description |
---|
XmlValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(String content)
Validate an XML content with SAX.
|
public XmlValidator()
public void validate(String content) throws ParseException
content
- a not null xml contentParseException
- if any.Copyright © 2005–2023 The Apache Software Foundation. All rights reserved.