/** * Method called when an illegal method (namespace-specific method * on non-ns writer) is called by the application. */ protected static void reportIllegalMethod(String msg) throws XMLStreamException { throwOutputError(msg); }
/** * This is the method called when an output method call violates * structural well-formedness checks * and {@link WstxOutputProperties#P_OUTPUT_VALIDATE_STRUCTURE} is * is enabled. */ protected static void reportNwfStructure(String msg) throws XMLStreamException { throwOutputError(msg); }
protected static void reportNwfContent(String msg, Object arg) throws XMLStreamException { throwOutputError(msg, arg); }
/** * This is the method called when an output method call violates * attribute well-formedness checks (trying to output dup attrs) * and {@link WstxOutputProperties#P_OUTPUT_VALIDATE_NAMES} is * is enabled. */ protected static void reportNwfAttr(String msg) throws XMLStreamException { throwOutputError(msg); }
protected static void reportNwfStructure(String msg, Object arg) throws XMLStreamException { throwOutputError(msg, arg); }
protected static void reportNwfAttr(String msg, Object arg) throws XMLStreamException { throwOutputError(msg, arg); }
/** * This is the method called when an output method call violates * content well-formedness checks * and {@link WstxOutputProperties#P_OUTPUT_VALIDATE_CONTENT} is * is enabled. */ protected static void reportNwfContent(String msg) throws XMLStreamException { throwOutputError(msg); }
protected static void throwOutputError(String format, Object arg) throws XMLStreamException { String msg = MessageFormat.format(format, new Object[] { arg }); throwOutputError(msg); }
/** * This is the method called when an output method call violates * content well-formedness checks * and {@link WstxOutputProperties#P_OUTPUT_VALIDATE_CONTENT} is * is enabled. */ protected static void reportNwfContent(String msg) throws XMLStreamException { throwOutputError(msg); }
/** * Method called when an illegal method (namespace-specific method * on non-ns writer) is called by the application. */ protected static void reportIllegalMethod(String msg) throws XMLStreamException { throwOutputError(msg); }
protected static void reportNwfContent(String msg, Object arg) throws XMLStreamException { throwOutputError(msg, arg); }
protected static void reportNwfAttr(String msg, Object arg) throws XMLStreamException { throwOutputError(msg, arg); }
/** * This is the method called when an output method call violates * structural well-formedness checks * and {@link WstxOutputProperties#P_OUTPUT_VALIDATE_STRUCTURE} is * is enabled. */ protected static void reportNwfStructure(String msg) throws XMLStreamException { throwOutputError(msg); }
/** * This is the method called when an output method call violates * attribute well-formedness checks (trying to output dup attrs) * and {@link WstxOutputProperties#P_OUTPUT_VALIDATE_NAMES} is * is enabled. */ protected static void reportNwfAttr(String msg) throws XMLStreamException { throwOutputError(msg); }
/** * This is the method called when an output method call violates * structural well-formedness checks * and {@link WstxOutputProperties#P_OUTPUT_VALIDATE_STRUCTURE} is * is enabled. */ protected static void reportNwfStructure(String msg) throws XMLStreamException { throwOutputError(msg); }
protected static void reportNwfAttr(String msg, Object arg) throws XMLStreamException { throwOutputError(msg, arg); }
/** * This is the method called when an output method call violates * content well-formedness checks * and {@link WstxOutputProperties#P_OUTPUT_VALIDATE_CONTENT} is * is enabled. */ protected static void reportNwfContent(String msg) throws XMLStreamException { throwOutputError(msg); }
throwOutputError(ErrorConsts.WERR_CDATA_CONTENT, DataUtil.Integer(ix));
protected static void throwOutputError(String format, Object arg) throws XMLStreamException { String msg = MessageFormat.format(format, new Object[] { arg }); throwOutputError(msg); }
throwOutputError("Current state DOCTYPE, but not DTDInfo Object returned -- reader doesn't support DTDs?");