|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.util.XmlValidator
public class XmlValidator
A class to validate xml documents.
Constructor Summary | |
---|---|
XmlValidator(Log log)
Constructor. |
Method Summary | |
---|---|
void |
validate(java.lang.String content)
Validate an XML content with SAX. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlValidator(Log log)
log
- a logger, not null.Method Detail |
---|
public void validate(java.lang.String content) throws ParseException
content
- a not null xml content
ParseException
- if any.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |