Examples of LinkNode


Examples of anvil.script.expression.LinkNode

    _document = DocParser.parseClass(_name, parser.getDocument());
    s = tag.get("extends");
    if (s != null) {
      Name name = Grammar.parseDottedName(parser, location, s);
      if (name != null) {
        _base = new ClassRef(new LinkNode(this, location, name));
      } else {
        init = false;
      }
    }
    s = tag.get("implements");
    if (s != null) {
      Name[] names = Grammar.parseDottedNames(parser, location, s);
      if (names != null) {
        int n = names.length;
        _interfaces = new InterfaceRef[n];
        for(int i=0; i<n; i++) {
          _interfaces[i] = new InterfaceRef(new LinkNode(this, location, names[i]));
        }
      } else {
        init = false;
      }
    }
View Full Code Here

Examples of anvil.script.expression.LinkNode

    String dottedname = tag.getValue("function");
    if (dottedname != null) {
      Name name = Grammar.parseDottedName(parser, location, dottedname);
      if (name != null) {
        _expression = new Expression(new LinkNode(this, location, name, parameters, LinkNode.GET), location);
      }
    } else {
      parser.error(location, "Attribute 'function' not given");
    }
View Full Code Here

Examples of org.apache.slide.structure.LinkNode

                    linkTo = res.getString(LINKS_LINKTO);

                closeStatement(statement);

                result =
                    new LinkNode(
                        uri.toString(),
                        childrenVector,
                        linksVector,
                        linkTo);
View Full Code Here

Examples of org.apache.slide.structure.LinkNode

                            "SELECT lu.URI_STRING FROM URI u, URI lu, LINKS l WHERE lu.URI_ID = l.LINK_TO_ID AND l.URI_ID = u.URI_ID and u.URI_STRING = ?");
                    statement.setString(1, uri.toString());
                    res = statement.executeQuery();
                    if (res.next()) {
                        String linkTarget = res.getString(1);
                        result = new LinkNode(uri.toString(), children, links, linkTarget);
                    } else {
                        result = new LinkNode(uri.toString(), children, links);
                    }
                } finally {
                    close(statement, res);
                }
            } else {
View Full Code Here

Examples of org.apache.slide.structure.LinkNode

                    linkTo = res.getString(LINKS_LINKTO);

                closeStatement(statement);

                result =
                    new LinkNode(
                        uri.toString(),
                        childrenVector,
                        linksVector,
                        linkTo);
View Full Code Here

Examples of org.apache.slide.structure.LinkNode

                            "SELECT lu.URI_STRING FROM URI u, URI lu, LINKS l WHERE lu.URI_ID = l.LINK_TO_ID AND l.URI_ID = u.URI_ID and u.URI_STRING = ?");
                    statement.setString(1, uri.toString());
                    res = statement.executeQuery();
                    if (res.next()) {
                        String linkTarget = res.getString(1);
                        result = new LinkNode(uri.toString(), children, links, linkTarget);
                    } else {
                        result = new LinkNode(uri.toString(), children, links);
                    }
                } finally {
                    close(statement, res);
                }
            } else {
View Full Code Here

Examples of org.apache.slide.structure.LinkNode

                            "SELECT lu.URI_STRING FROM URI u, URI lu, LINKS l WHERE lu.URI_ID = l.LINK_TO_ID AND l.URI_ID = u.URI_ID and u.URI_STRING = ?");
                    statement.setString(1, uri.toString());
                    res = statement.executeQuery();
                    if (res.next()) {
                        String linkTarget = res.getString(1);
                        result = new LinkNode(uri.toString(), children, links, linkTarget);
                    } else {
                        result = new LinkNode(uri.toString(), children, links);
                    }
                } finally {
                    close(statement, res);
                }
            } else {
View Full Code Here

Examples of org.apache.slide.structure.LinkNode

                    linkTo = res.getString(LINKS_LINKTO);

                closeStatement(statement);

                result =
                    new LinkNode(
                        uri.toString(),
                        childrenVector,
                        linksVector,
                        linkTo);
View Full Code Here

Examples of org.apache.slide.structure.LinkNode

                String strUri = config.getUsersPath()+"/"+group.getName()+"/"+
                                principal.getName();

                // create the node in the structure
                LinkNode link = new LinkNode();

                structure.createLink(slidetoken, link, strUri,
                                     structure.retrieve(slidetoken,
                                                        config.getUsersPath()+
                                                        "/"+
View Full Code Here

Examples of org.apache.slide.structure.LinkNode

                            "SELECT lu.URI_STRING URI lu, LINKS l WHERE lu.URI_ID = l.LINK_TO_ID AND l.URI_ID = u.URI_ID and u.URI_STRING = ?");
                    statement.setString(1, uri.toString());
                    res = statement.executeQuery();
                    if (res.next()) {
                        String linkTarget = res.getString(1);
                        result = new LinkNode(uri.toString(), children, links, linkTarget);
                    } else {
                        result = new LinkNode(uri.toString(), children, links);
                    }
                } finally {
                    close(statement, res);
                }
            } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.