Convenience method for validity checking. Checks if the incoming node is a member of the "%block;" parameter entity as defined in Sect. 6.2 of the XSL 1.0 & 1.1 Recommendations @param nsURI namespace URI of incoming node @param lName local name (i.e., no prefix) of incoming node @return true i
(String nsURI, String lName)
| 508 | * @return true if a member, false if not |
| 509 | */ |
| 510 | protected boolean isBlockItem(String nsURI, String lName) { |
| 511 | return (FO_URI.equals(nsURI) |
| 512 | && ("block".equals(lName) |
| 513 | || "table".equals(lName) |
| 514 | || "table-and-caption".equals(lName) |
| 515 | || "block-container".equals(lName) |
| 516 | || "list-block".equals(lName) |
| 517 | || "float".equals(lName) |
| 518 | || isNeutralItem(nsURI, lName))); |
| 519 | } |
| 520 | |
| 521 | /** |
| 522 | * Convenience method for validity checking. Checks if the |
no test coverage detected