From b86c3cd6935d6ae1bc759478f2ca5bebabbe5887 Mon Sep 17 00:00:00 2001 From: stefanp Date: Thu, 7 Mar 2002 14:16:15 +0000 Subject: [PATCH] implemented IPathElement replaced DocFunction.getPrototype() with DocFunction.getDocPrototype() --- src/helma/doc/DocApplication.java | 37 ++++++++++++++++++++++++++++--- src/helma/doc/DocFunction.java | 25 +++++++++++++++++++-- 2 files changed, 57 insertions(+), 5 deletions(-) diff --git a/src/helma/doc/DocApplication.java b/src/helma/doc/DocApplication.java index 9a5770cb..1d0828bb 100644 --- a/src/helma/doc/DocApplication.java +++ b/src/helma/doc/DocApplication.java @@ -1,9 +1,11 @@ package helma.doc; +import helma.framework.IPathElement; +import helma.main.Server; import java.io.*; import java.util.*; -public class DocApplication extends DocElement { +public class DocApplication extends DocElement implements IPathElement { private DocPrototype[] prototypes; @@ -26,7 +28,7 @@ public class DocApplication extends DocElement { } /** return a single prototype */ - public DocPrototype getPrototype(String name) { + public DocPrototype getDocPrototype(String name) { for ( int i=0; i