예제 #1
0
 @Override
 public void read(Element element, Project project) throws CantLoadSomethingException {
   super.read(element, project);
   List children = element.getChild(NODE).getChildren();
   if (children == null || children.size() == 1) {
     throw new CantLoadSomethingException();
   }
   myNodePointer = ComponentsUtil.nodePointerFromElement((Element) children.get(0));
 }