Package org.davinci.server.review

Examples of org.davinci.server.review.CommentFlag


    if (null == flagsNode)
      return flagList;

    NodeList children = flagsNode.getChildNodes();
    Node node;
    CommentFlag flag;
    NamedNodeMap attriMap;
    for (int i = 0; i < children.getLength(); i++) {
      node = children.item(i);
      if (node.getNodeType() == Node.ELEMENT_NODE) {
        if (Comment.FLAG.equalsIgnoreCase(node.getNodeName())) {
          flag = new CommentFlag();
          attriMap = node.getAttributes();
          flag.setId(Integer.parseInt(attriMap.getNamedItem(
              CommentFlag.ID).getNodeValue()));
          flagList.add(flag);
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.davinci.server.review.CommentFlag

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.