NVelocity.Dvsl
Class DvslNodeImpl

wrapper class for .Net nodes to implement the DVSLNode interface for template use

Field Summary
System.Collections.Hashtable attributes
System.Xml.XmlNode element

Constructor Summary
DvslNodeImpl(System.Xml.XmlElement e)
         this is a bit yecchy - need to revamp
DvslNodeImpl(System.Xml.XmlDocument e)
DvslNodeImpl(System.Xml.XmlText e)
DvslNodeImpl(System.Xml.XmlAttribute e)
DvslNodeImpl(System.Xml.XmlComment e)
DvslNodeImpl(System.Xml.XmlCDataSection e)
DvslNodeImpl()
        Initializes a new instance of the DvslNodeImpl class.

Property Summary
System.Collections.Hashtable AttribMap
string Name
         returns the name of the node
object NodeImpl
string Value

Method Summary
string Attrib(string name)
string Attribute(string attribute)
         returns a specificed attributeattribute
System.Collections.IList Children()
string Copy(System.Collections.IList nodes)
         assumes a list of DVSLNodes
string Copy()
NVelocity.Dvsl.DvslNode Get(string xpath)
string Render()
System.Collections.IList SelectNodes(string xpath)
         returns a list of nodes that satisfy the xpath
NVelocity.Dvsl.DvslNode SelectSingleNode(string xpath)
string ToString()
object ValueOf(string xpath)

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone


Field Detail

attributes

protected internal System.Collections.Hashtable attributes


element

protected internal System.Xml.XmlNode element

Constructor Detail

DvslNodeImpl

public DvslNodeImpl(System.Xml.XmlElement e)

this is a bit yecchy - need to revamp


DvslNodeImpl

public DvslNodeImpl(System.Xml.XmlDocument e)


DvslNodeImpl

public DvslNodeImpl(System.Xml.XmlText e)


DvslNodeImpl

public DvslNodeImpl(System.Xml.XmlAttribute e)


DvslNodeImpl

public DvslNodeImpl(System.Xml.XmlComment e)


DvslNodeImpl

public DvslNodeImpl(System.Xml.XmlCDataSection e)


DvslNodeImpl

public DvslNodeImpl()

Initializes a new instance of the DvslNodeImpl class.

Property Detail

AttribMap

public System.Collections.Hashtable AttribMap


Name

public string Name

returns the name of the node


NodeImpl

public object NodeImpl


Value

public string Value

Method Detail

Attrib

public string Attrib(string name)


Attribute

public string Attribute(string attribute)

returns a specificed attributeattribute


Children

public System.Collections.IList Children()


Copy

public string Copy(System.Collections.IList nodes)

assumes a list of DVSLNodes


Copy

public string Copy()


Get

public NVelocity.Dvsl.DvslNode Get(string xpath)


Render

public string Render()


SelectNodes

public System.Collections.IList SelectNodes(string xpath)

returns a list of nodes that satisfy the xpath


SelectSingleNode

public NVelocity.Dvsl.DvslNode SelectSingleNode(string xpath)


ToString

public string ToString()


ValueOf

public object ValueOf(string xpath)