Returns a matching layout for the specified element. @param node node @param plan plan @return layout
(final GNode node, final Plan plan)
| 262 | * @return layout |
| 263 | */ |
| 264 | final PlanEntry entry(final GNode node, final Plan plan) { |
| 265 | PlanEntry pe = plan.entries.get(node.qname()); |
| 266 | if(pe == null) pe = plan.entries.get(QNm.EMPTY); |
| 267 | return pe != null ? pe : entry(node); |
| 268 | } |
| 269 | |
| 270 | /** |
| 271 | * Returns a plan entry for the specified nodes. |