You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by shirasu hiroyuki <hi...@s9.dion.ne.jp> on 2005/02/05 09:15:29 UTC
[xmlio] On method signature of startElement
Dear XMLIO users and developers,
I have just started working with XMLIO, and
have a few questions relating to SimpleImportHandler.
The following is the method signagure of startElement
in the interface SimpleImportHandler.
public void startElement(SimplePath path,
java.lang.String name,
org.xml.sax.helpers.AttributesImpl attributes,
java.lang.String leadingCDdata)
The type of attributes is org.xml.sax.helpers.AttributesImpl.
Why is it org.xml.sax.Attributes?
Thanks,
--
shirasu hiroyuki(hirsh@s9.dion.ne.jp)
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [xmlio] On method signature of startElement
Posted by shirasu hiroyuki <hi...@s9.dion.ne.jp>.
Thank you very mush for your helpful explanation.
From: Oliver Zeigermann <ol...@gmail.com>
Date: Sat, 5 Feb 2005 10:40:18 +0100
<snip/>
> > Why isn't it org.xml.sax.Attributes?
>
> What would be the benefit of that? As xmlio makes copies of all
> attributes using AttributesImpl why not pass it to the listener? It
> has some useful additional methods...
I thought only its analogy with ContentHandler in SAX.
Once again, thank you.
--
shirasu hiroyuki(hirsh@s9.dion.ne.jp)
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [xmlio] On method signature of startElement
Posted by Oliver Zeigermann <ol...@gmail.com>.
On Sat, 05 Feb 2005 17:25:13 +0900 (JST), shirasu hiroyuki
<hi...@s9.dion.ne.jp> wrote:
> From: shirasu hiroyuki <hi...@s9.dion.ne.jp>
> Subject: [xmlio] On method signature of startElement
> Date: Sat, 05 Feb 2005 17:15:29 +0900 (JST)
>
> <snip/>
>
> > Why is it org.xml.sax.Attributes?
>
> Sorry.
> Why isn't it org.xml.sax.Attributes?
What would be the benefit of that? As xmlio makes copies of all
attributes using AttributesImpl why not pass it to the listener? It
has some useful additional methods...
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [xmlio] On method signature of startElement
Posted by shirasu hiroyuki <hi...@s9.dion.ne.jp>.
From: shirasu hiroyuki <hi...@s9.dion.ne.jp>
Subject: [xmlio] On method signature of startElement
Date: Sat, 05 Feb 2005 17:15:29 +0900 (JST)
<snip/>
> Why is it org.xml.sax.Attributes?
Sorry.
Why isn't it org.xml.sax.Attributes?
Thanks.
--
shirasu hiroyuki(hirsh@s9.dion.ne.jp)
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org