public virtual VElement getLocVector(JDFAttributeMap mAttrib, bool bAnd) { VElement myResource = new VElement(); VElement vElem = getChildElementVector("Loc", null, mAttrib, bAnd, 0, true); for (int i = 0; i < vElem.Count; i++) { JDFElement k = (JDFElement)vElem[i]; JDFLoc myJDFLoc = (JDFLoc)k; myResource.Add(myJDFLoc); } return(myResource); }
/// /// <summary> * Get all Loc from the current element /// * </summary> /// * <returns> Collection<JDFLoc> </returns> /// public virtual ICollection <JDFLoc> getAllLoc() { List <JDFLoc> v = new List <JDFLoc>(); JDFLoc kElem = (JDFLoc)getFirstChildElement(ElementName.LOC, null); while (kElem != null) { v.Add(kElem); kElem = (JDFLoc)kElem.getNextSiblingElement(ElementName.LOC, null); } return(v); }