|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthelma.framework.demo.SimplePathElement
public class SimplePathElement
This is an example implementation for the helma.framework.IPathElement interface. It creates any child element which is requested on the fly without ever asking.
Constructor Summary | |
---|---|
SimplePathElement()
Constructor for the root element. |
|
SimplePathElement(java.lang.String n,
IPathElement p)
Constructor for non-root elements. |
Method Summary | |
---|---|
IPathElement |
getChildElement(java.lang.String n)
Returns a child element for this object, creating it on the fly. |
java.lang.String |
getElementName()
Returns the element name to be used for this object. |
IPathElement |
getParentElement()
Returns this object's parent element |
java.lang.String |
getPrototype()
Returns the name of the scripting prototype to be used for this object. |
java.lang.String |
toString()
Returns a string representation of this element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimplePathElement()
public SimplePathElement(java.lang.String n, IPathElement p)
Method Detail |
---|
public IPathElement getChildElement(java.lang.String n)
getChildElement
in interface IPathElement
public IPathElement getParentElement()
getParentElement
in interface IPathElement
public java.lang.String getElementName()
getElementName
in interface IPathElement
public java.lang.String getPrototype()
getPrototype
in interface IPathElement
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |