commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liumin HU" <...@sigems.fr>
Subject Re: JXpath for retrieving objects which are instanceof a particular class
Date Wed, 02 Jan 2008 10:47:04 GMT
No, i dont think so.
----- Original Message ----- 
From: "Archit P" <ArchitP@mastek.com>
To: "Jakarta Commons Users List" <user@commons.apache.org>
Sent: Wednesday, January 02, 2008 11:29 AM
Subject: RE: JXpath for retrieving objects which are instanceof a particular 
class



Thanks liumin for help. But will this xpath take care of inherited Objects 
too?
As in I want to search for Objects that extend from some Class. For e.g. in 
the object hierarchy, I want to retrieve Objects that inherit (can be 
multi-level inheritance) from a particular class.


Regards,
Archit
Core-Elixir
PUNE
"Real Programmers always confuse Christmas and Halloween because Oct31 == 
Dec25.."


-----Original Message-----
From: liumin HU [mailto:lhu@sigems.fr]
Sent: Wednesday, January 02, 2008 3:16 PM
To: Jakarta Commons Users List
Subject: Re: JXpath for retrieving objects which are instanceof a particular 
class

hi,

i think [class/name=$classwanted] could work.


----- Original Message -----
From: "Archit P" <ArchitP@mastek.com>
To: "Jakarta Commons Users List" <user@commons.apache.org>
Sent: Wednesday, January 02, 2008 9:38 AM
Subject: JXpath for retrieving objects which are instanceof a particular
class



Hi,

I am new to JXPath and could not find the answer to my question on the
group. Please excuse if the question is too trivial.

I need to write an XPath that will retrieve objects that are instanceof a
particular class. I wrote a custom extension function for it. It works but I
just wanted to know if there is any better way of doing the same.

Regards,

Archit
"Real Programmers always confuse Christmas and Halloween because Oct31 ==
Dec25.."

MASTEK LTD.
Making a valuable difference
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that
of Mastek Limited, unless specifically indicated to that effect. Mastek
Limited does not accept any responsibility or liability for it. This e-mail
and attachments (if any) transmitted with it are confidential and/or
privileged and solely for the use of the intended person or entity to which
it is addressed. Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. This e-mail and
its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and
attachments before opening them. If you have received this e-mail in error,
kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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


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



MASTEK LTD.
Making a valuable difference
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that 
of Mastek Limited, unless specifically indicated to that effect. Mastek 
Limited does not accept any responsibility or liability for it. This e-mail 
and attachments (if any) transmitted with it are confidential and/or 
privileged and solely for the use of the intended person or entity to which 
it is addressed. Any review, re-transmission, dissemination or other use of 
or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. This e-mail and 
its attachments have been scanned for the presence of computer viruses. It 
is the responsibility of the recipient to run the virus check on e-mails and 
attachments before opening them. If you have received this e-mail in error, 
kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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


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


Mime
View raw message