public boolean isBoundTo(Object node) { if (!(node instanceof Element)) return false; if (myMapAnnotation != null && !myMapAnnotation.surroundWithTag()) { return myMapAnnotation.entryTagName().equals(((Element) node).getName()); } return ((Element) node).getName().equals(Constants.MAP); }
private String getEntryAttributeName() { return myMapAnnotation == null ? ENTRY : myMapAnnotation.entryTagName(); }