Hi Sanjaya,

I was thinking of a class hierarchy like:

AbstractSchemePointer (implements XPointerPart)
|
|
----> ElementSchemePointer
|
|
----> XPointerSchemePointer

where the common parts are in the abstract base class.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]

Sanjaya Liyanage <[email protected]> wrote on 04/11/2010 11:31:34 PM:

> Hi Michael,
>   Thank you for your explanations on XPointerPart.So I think I have to
> create an abstract class(just one class as java does not support for
> multiple inheritance) which includes the methods like
> parseXPointer(),resolveXPointer(),isFragmentResolved
> (),isChildFragmentResolved()
> and extend it from ElementSchemePointer class or else I can create
> couple of interfaces including the parts specific to the element()
> scheme and xpointer() scheme.Thats what I got from it.Please make me
> correct If I'm wrong.
>
> Thank you again.
> Sanjaya Liyanage.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]?

Reply via email to