commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DM <donalmurt...@yahoo.co.uk>
Subject Apache Digester SetNestedPropertiesRule
Date Fri, 10 Aug 2007 14:04:05 GMT
Hi,

I'm writing my own subclass of SetNestedPropertiesRule. Within the body of the overriden begin
method

begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes)
{
    // my implementation here
}

I'd like to access the text of the nested elements. So, if the rule fires for the <subscriber>
element shown below:

<subscriber>
  <nn>sub-nick3</nn>
  <pn>2000000003</pn>
</subscriber>


Then I need to be able to read "sub-nick3" and "200000003" within the begin() method. Any
idea how I can do this?

Thanks in Advance,
DM


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message