Interface NiceXmlMessageFormatter
public interface NiceXmlMessageFormatter
Formats a
NiceXmlMessageSpec to make the full message
of an XmlException.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NiceXmlMessageFormatterFormats errors like:static final NiceXmlMessageFormatter -
Method Summary
Modifier and TypeMethodDescriptionformatSpec(OoxmlFacade ooxml, NiceXmlMessageSpec spec, XmlPositioner positioner)
-
Field Details
-
SINGLE_LINE
-
FULL_MESSAGE
Formats errors like:Error (XML parsing) at /some/file.xml:3:15 1| <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2| <list> 3| <list foo="&amb;"/> ^ The entity "amb" was referenced, but not declared. 4| </list>
-
-
Method Details
-
formatSpec
-