public IElementList getWhere() { IResource whereS = this.getResource(SP.PropertyWhere); if (whereS != null) { return((IElementList)SPINFactory.asElement(whereS)); } else { return(null); } }
public List <IElement> getElements(INode predicate) { List <IElement> results = new List <IElement>(); foreach (IResource node in getList(predicate)) { if (node != null && !node.isLiteral()) { results.Add(SPINFactory.asElement(node)); } } return(results); }
public IElementList getWhere() { IResource whereS = getResource(SP.PropertyWhere); if (whereS != null) { IElement element = SPINFactory.asElement(whereS); return((IElementList)element); } else { return(null); } }
public new List <IElement> getElements() { List <IElement> results = new List <IElement>(); IEnumerator <IResource> it = AsList().GetEnumerator(); while (it.MoveNext()) { IResource node = it.Current; if (!(node.isLiteral())) { IElement element = SPINFactory.asElement(node); if (element != null) { results.Add(element); } } } return(results); }