Interface NiceXmlMessageFormatter
-
public interface NiceXmlMessageFormatterFormats aNiceXmlMessageSpecto make the full message of anXmlException.
-
-
Field Summary
Fields Modifier and Type Field Description static NiceXmlMessageFormatterFULL_MESSAGEFormats errors like:static NiceXmlMessageFormatterSINGLE_LINE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringformatSpec(OoxmlFacade ooxml, NiceXmlMessageSpec spec, XmlPositioner positioner)
-
-
-
Field Detail
-
SINGLE_LINE
static final NiceXmlMessageFormatter SINGLE_LINE
-
FULL_MESSAGE
static final NiceXmlMessageFormatter 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 Detail
-
formatSpec
java.lang.String formatSpec(OoxmlFacade ooxml, NiceXmlMessageSpec spec, XmlPositioner positioner)
-
-