MCPcopy Create free account
hub / github.com/apache/xmlgraphics-fop / isBlockItem

Method isBlockItem

fop-core/src/main/java/org/apache/fop/fo/FObj.java:510–519  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 12

isBlockOrInlineItemMethod · 0.95
isBidiRangeBlockItemMethod · 0.95
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80
validateChildNodeMethod · 0.80

Calls 2

isNeutralItemMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected