コード例 #1
0
        ///
        ///	 <summary> * @return </summary>
        ///
        protected internal virtual VElement getNodeLinks()
        {
            VElement nodeLinks = null;

            if (amountLinks != null)
            {
                nodeLinks = new VElement();
                VElement resLinks = theExpandedNode.getResourceLinks(null);
                if (resLinks != null)
                {
                    int resLinkSize = resLinks.Count;
                    for (int i = 0; i < amountLinks.Count; i++)
                    {
                        for (int j = 0; j < resLinkSize; j++)
                        {
                            JDFResourceLink rl = (JDFResourceLink)resLinks[j];
                            if (rl.matchesString(amountLinks[i]))
                            {
                                nodeLinks.Add(rl);
                            }
                        }
                    }
                }
            }

            return(nodeLinks);
        }