diff --git a/src/helma/doc/DocPrototype.java b/src/helma/doc/DocPrototype.java index 26807a8e..7af3120d 100644 --- a/src/helma/doc/DocPrototype.java +++ b/src/helma/doc/DocPrototype.java @@ -1,11 +1,12 @@ package helma.doc; +import helma.framework.IPathElement; import java.io.*; import java.util.*; import FESI.Parser.*; -public class DocPrototype extends DocElement { +public class DocPrototype extends DocElement implements IPathElement { DocFunction[] functions; DocApplication app; @@ -188,5 +189,33 @@ public class DocPrototype extends DocElement { return ( "[DocPrototype " + name + "]" ); } + + //////////////////////////////////// + // from helma.framework.IPathElement + //////////////////////////////////// + + public String getElementName() { + return name; + } + + public IPathElement getChildElement(String name) { + for ( int i=0; i