cdqa.skeleton

Class SkeletonServices


public class SkeletonServices
extends java.lang.Object

offers methods to construct the skeleton of a given document and also to assign unique id-s to the elements

Method Summary

static void
depthFirst(Element root, Element e, DataGuide holes, IdGen idGen, String originatingURI, String xdocName)
static Vector
getPath(Element root, Element child, Element hole)
static void
idProcess(Element e, IdGen idGen, String originatingURI, String xdocName)
static void
rootProcesed(Element e)
static boolean
somethingToErase(Element top, HashMap paramList, ArrayList toErase)
static void
updateSC(Element root, String oldURL, String newURL, ArrayList services)

Method Details

depthFirst

public static void depthFirst(Element root,
                              Element e,
                              DataGuide holes,
                              IdGen idGen,
                              String originatingURI,
                              String xdocName)

getPath

public static Vector getPath(Element root,
                             Element child,
                             Element hole)

idProcess

public static void idProcess(Element e,
                             IdGen idGen,
                             String originatingURI,
                             String xdocName)

rootProcesed

public static void rootProcesed(Element e)

somethingToErase

public static boolean somethingToErase(Element top,
                                       HashMap paramList,
                                       ArrayList toErase)

updateSC

public static void updateSC(Element root,
                            String oldURL,
                            String newURL,
                            ArrayList services)