class JasperReportXmlSearchException extends JasperReportException
| Constructor and Description |
|---|
JasperReportXmlSearchException(XmlAst parent,
java.lang.String searchedNodeText,
java.lang.String designFileName)
Constructor which accepts searched node and report design file name.
|
JasperReportXmlSearchException(XmlAst parent,
java.lang.String searchedNodeText,
java.lang.String designFileName,
boolean node)
Constructor which accepts searched node and report design file name.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
getNodePath(XmlAst parent,
java.lang.String searchedNodeText)
Used for node search error text generation.
|
JasperReportXmlSearchException(XmlAst parent, java.lang.String searchedNodeText, java.lang.String designFileName)
parent - Node which was supposed to be the parent of the node we are searching for.searchedNodeText - Text which the node we were searching for was supposed to have.designFileName - Name of the report design file processing of which caused the error.JasperReportXmlSearchException(XmlAst parent, java.lang.String searchedNodeText, java.lang.String designFileName, boolean node)
parent - Node which was supposed to be the parent of the node we are searching for.searchedNodeText - Text which the node we were searching for was supposed to have.designFileName - Name of the report design file processing of which caused the error.node - true if we were searching for a node, false if we were
searching for an attribute.private static java.lang.String getNodePath(XmlAst parent, java.lang.String searchedNodeText)
rootNode/node1/.../nodeN/parentNode/searchedNodeText.parent - Node which was supposed to be the parent of the node we are searching for.searchedNodeText - Text which the node we were searching for was supposed to have.