D | XPathParts.java | 24 import com.google.common.collect.ImmutableSet; 25 import com.google.common.collect.ImmutableSet.Builder; 162 for (CommentType c : CommentType.values()) { in Comments() 163 comments.put(c, new HashMap<String, String>()); in Comments() 167 public String getComment(CommentType style, String xpath) { in getComment() argument 168 return comments.get(style).get(xpath); in getComment() 171 public Comments addComment(CommentType style, String xpath, String comment) { in addComment() argument 172 String existing = comments.get(style).get(xpath); in addComment() 176 comments.get(style).put(xpath, comment); in addComment() 180 public String removeComment(CommentType style, String xPath) { in removeComment() argument [all …]
|