/* **************************************************************************** * stuff() **************************************************************************** */ /** * Adds the descriptors associated with an authority to the cache * @param oAuth - The Authority whose descriptors to store * @param oDescriptors - The descriptors of the subsegments in oAuth */ public void stuff(XRIAuthority oAuth, XRDS oDescriptors) { for (int i = 0; i < oDescriptors.getNumChildren(); i++) { stuff(oAuth, oDescriptors.getDescriptorAt(i), i); } }
} // addXRIDescriptor() /* **************************************************************************** * 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)); } } // addXRIDescriptors()