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)); } }
/* **************************************************************************** * 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)); } }