org.apache.wvcm
Class ResourceImpl.XmlPropertyValue

java.lang.Object
  extended by org.apache.wvcm.ResourceImpl.XmlPropertyValue
Enclosing class:
ResourceImpl

public static class ResourceImpl.XmlPropertyValue
extends java.lang.Object

An XML property value


Constructor Summary
ResourceImpl.XmlPropertyValue(Resource requestResource, java.lang.String xmlString)
          Constructor
 
Method Summary
 org.jdom.Element getRootElement()
          Method getRootElm
 java.lang.Object selectSingleNode(java.lang.String xpath, org.jdom.Namespace nsp)
          Evaluate an XPATH expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceImpl.XmlPropertyValue

public ResourceImpl.XmlPropertyValue(Resource requestResource,
                                     java.lang.String xmlString)
                              throws WvcmException
Constructor

Parameters:
xmlString - a String
Throws:
WvcmException
Method Detail

getRootElement

public org.jdom.Element getRootElement()
Method getRootElm

Returns:
an Element

selectSingleNode

public java.lang.Object selectSingleNode(java.lang.String xpath,
                                         org.jdom.Namespace nsp)
                                  throws WvcmException
Evaluate an XPATH expression

Parameters:
xpath - a String
nsp - a Namespace
Returns:
an Object
Throws:
WvcmException


Copyright (c) 2003 - Apache Software Foundation