getNumChildren() 공개 메소드

public getNumChildren ( ) : int
리턴 int
예제 #1
0
파일: XRDS.cs 프로젝트: AArnott/dotnetxri
 public void addAll(XRDS other)
 {
     for (int i = 0; i < other.getNumChildren(); i++) {
     if (other.isXRDSAt(i))
         add(other.getXRDSAt(i));
     else
         add(other.getDescriptorAt(i));
     }
 }
예제 #2
0
 /*
 ****************************************************************************
 * addXRIDescriptors()
 ****************************************************************************
 */
 /**
  * Adds the specified XRI Descriptors to the chain
  */
 public void addXRIDescriptors(XRDS oDescriptors)
 {
     for (int i = 0; i < oDescriptors.getNumChildren(); i++) {
         addXRIDescriptor(oDescriptors.getDescriptorAt(i));
     }
 }