Searched refs:mustExist (Results 1 – 2 of 2) sorted by relevance
161 static List<String> getXmlNodeContents(@MustExist int mustExist, Element rootNode, in getXmlNodeContents() argument175 if ((children.size() == 0 && mustExist != MUST_EXIST_UNENFORCED) in getXmlNodeContents()188 if (mustExist == MUST_EXIST_EXACTLY_ONE && leafs.size() != 1) { in getXmlNodeContents()193 if (mustExist == MUST_EXIST_AT_LEAST_ONE && leafs.size() == 0) { in getXmlNodeContents()
451 private File getFileForDocId(String docId, boolean visible, boolean mustExist) in getFileForDocId() argument454 return buildFile(root, docId, mustExist); in getFileForDocId()499 private File buildFile(RootInfo root, String docId, boolean mustExist) in buildFile() argument517 if (mustExist && !target.exists()) { in buildFile()