[jdom-commits] getChildTextNormalize()
Jose Alejandro Cardenas
jcardena at wctravel.com
Mon Oct 1 07:23:05 PDT 2001
Kent,
This is also my first message to this list but I have been using JDOM for
almost a year. I do not think taking out the methods to access the text
from a child is a good idea. However having a helper class to help
normalize the contents seems reasonable to me. I am also not sure how
things are added to this open source project, but in webmacro or others I am
involved it is based on votes and community consideration.
Alex
----- Original Message -----
From: <jdom-commits-admin at dorothy.denveronline.net>
To: <jdom-commits at dorothy.denveronline.net>
Sent: Sunday, September 30, 2001 2:08 AM
Subject: jdom-commits digest, Vol 1 #208 - 1 msg
> Send jdom-commits mailing list submissions to
> jdom-commits at lists.denveronline.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.denveronline.net/mailman/listinfo/jdom-commits
> or, via email, send a message with subject or body 'help' to
> jdom-commits-request at lists.denveronline.net
>
> You can reach the person managing the list at
> jdom-commits-admin at lists.denveronline.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of jdom-commits digest..."
>
>
> Today's Topics:
>
> 1. getChildTextNormalize() (Kent C. Johnson)
>
> --__--__--
>
> Message: 1
> From: "Kent C. Johnson" <kentyman23 at hotmail.com>
> To: jdom-commits at jdom.org
> Date: Sat, 29 Sep 2001 21:43:37 -0500
> Subject: [jdom-commits] getChildTextNormalize()
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_5cf6_5d5f_6df4
> Content-Type: text/plain; format=flowed
>
> earlier on jdom-interest i was talking about adding the
> getChildTextNormalize() methods to Element.java, since getChildText() and
> getChildTextTrim() exist. i'm am completely new to the project, and in
fact
> new to any open source project, so i'm not sure how things get decided
> around here (vote on things / just gets decided Jason and Brett /
whatever).
> anyway, i think that either getChildTextNormalize() needs to be added to
> Element.java, or that method and all the other getChildText*() methods
need
> to be moved to a helper class. i have a patch which adds the
> getChildTextNormalize() methods to Element.java
> (Element+getChildTextNormalize.patch). i also have a patch which takes
all
> of those methods out of Element.java (Element-getChildText_deleted.patch),
> along with a working version of a helper class (JDOMHelper.java). i will
> attach these 3 files.
> since this is my first submission i hope someone is able to check my work,
> though i have already tested by hand. also, i didn't know how it worked
> adding the @author to the javadocs, so i added my name in JDOMHelper.java
> and Element+getChildTextNormalize.patch. in the latter of the two, since
i
> basically just copied and modified code, perhaps my name should be taken
out
> of the javadocs (but if not, that would be cool :) ). i didn't put my
name
> in for the Element-getChildText_deleted.patch, since it just deletes code.
> :)
> if you have any questions regarding these changes please ask me. also
note
> that some might argue that all the getText*() methods should be part of
the
> JDOMHelper, but i disagreed, so i didn't do it yet. if y'all think they
all
> need to move, i can do that too.
> oh, i was just thinking, maybe we would just deprecate the getChildText*()
> methods in Element.java, so it doesn't break old code. if so,
> Element-getChildText_deleted.patch won't be useful. i will also include a
> patch Element-getChildText_deprecated.patch which will just mark those
> methods as deprecated.
> one more thing, please check to make sure i did the javadocs right. i'm
> pretty sure i did, but i had never played with it before today.
>
> quick recap of files:
> Element+getChildTextNormalize.patch - patch adds getChildTextNormalize()
> methods
> Element-getChildText_deleted.patch - patch deleted all getChildText*()
> methods
> Element-getChildText_deprecated.patch - patch deprecated all
getChildText*()
> methods
> JDOMHelper.java - helper class with static versions of all getChildText*()
> methods including getChildTextNormalize()
>
> thanks for considering my work,
> kent
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
> ------=_NextPart_000_5cf6_5d5f_6df4
> Content-Type: application/octet-stream; name="JDOMHelper.java"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="JDOMHelper.java"
>
> LyotLSAKCiAkSWQ6IERhdGFDb252ZXJzaW9uRXhjZXB0aW9uLmphdmEsdiAx
> LjUgMjAwMS8wNC8yNyAxODoyMToxOSBqaHVudGVyIEV4cCAkCgogQ29weXJp
> Z2h0IChDKSAyMDAwIEJyZXR0IE1jTGF1Z2hsaW4gJiBKYXNvbiBIdW50ZXIu
> CiBBbGwgcmlnaHRzIHJlc2VydmVkLgogCiBSZWRpc3RyaWJ1dGlvbiBhbmQg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0aWMgU3RyaW5nIGdl
> dENoaWxkVGV4dE5vcm1hbGl6ZShFbGVtZW50IHBhcmVudCwgU3RyaW5nIG5h
> bWUpIHsKICAgICAgICBFbGVtZW50IGNoaWxkID0gcGFyZW50LmdldENoaWxk
> KG5hbWUpOwogICAgICAgIGlmIChjaGlsZCA9PSBudWxsKSB7CiAgICAgICAg
> ICAgIHJldHVybiBudWxsOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAg
> IHJldHVybiBjaGlsZC5nZXRUZXh0Tm9ybWFsaXplKCk7CiAgICAgICAgfQog
> ICAgfQoKICAgIC8qKgogICAgICogPHA+CiAgICAgKiAgIEEgbmFtZXNwYWNl
> LWF3YXJlIHZlcnNpb24gb2YgPGNvZGU+CiAgICAgKiAgIHtAbGluayAjZ2V0
> Q2hpbGRUZXh0KG9yZy5qZG9tLkVsZW1lbnQsIGphdmEubGFuZy5TdHJpbmcp
> fTwvY29kZT4uCiAgICAgKiA8L3A+CiAgICAgKgogICAgICogQHBhcmFtIHBh
> cmVudCBwYXJlbnQgZWxlbWVudCB3aXRoIHRoZSBjaGlsZAogICAgICogQHBh
> cmFtIG5hbWUgdGhlIG5hbWUgb2YgdGhlIGNoaWxkCiAgICAgKiBAcGFyYW0g
> bnMgdGhlIG5hbWVzcGFjZSBvZiB0aGUgY2hpbGQKICAgICAqIEByZXR1cm4g
> dGV4dCBjb250ZW50IGZvciB0aGUgbmFtZWQgY2hpbGQsIG9yIG51bGwgaWYg
> bm9uZQogICAgICovCiAgICBwdWJsaWMgc3RhdGljIFN0cmluZyBnZXRDaGls
> ZFRleHQoRWxlbWVudCBwYXJlbnQsCiAgICAgICAgICAgICAgICAgICAgICAg
> ICAgICAgICAgICAgICAgU3RyaW5nIG5hbWUsIE5hbWVzcGFjZSBucykgewog
> ICAgICAgIEVsZW1lbnQgY2hpbGQgPSBwYXJlbnQuZ2V0Q2hpbGQobmFtZSwg
> bnMpOwogICAgICAgIGlmIChjaGlsZCA9PSBudWxsKSB7CiAgICAgICAgICAg
> IHJldHVybiBudWxsOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIHJl
> dHVybiBjaGlsZC5nZXRUZXh0KCk7CiAgICAgICAgfQogICAgfQoKICAgIC8q
> KgogICAgICogPHA+CiAgICAgKiAgIEEgbmFtZXNwYWNlLWF3YXJlIHZlcnNp
> b24gb2YgPGNvZGU+CiAgICAgKiAgIHtAbGluayAjZ2V0Q2hpbGRUZXh0VHJp
> bShvcmcuamRvbS5FbGVtZW50LCBqYXZhLmxhbmcuU3RyaW5nKX08L2NvZGU+
> LgogICAgICogPC9wPgogICAgICoKICAgICAqIEBwYXJhbSBwYXJlbnQgcGFy
> ZW50IGVsZW1lbnQgd2l0aCB0aGUgY2hpbGQKICAgICAqIEBwYXJhbSBuYW1l
> IHRoZSBuYW1lIG9mIHRoZSBjaGlsZAogICAgICogQHBhcmFtIG5zIHRoZSBu
> YW1lc3BhY2Ugb2YgdGhlIGNoaWxkCiAgICAgKiBAcmV0dXJuIHRyaW1tZWQg
> dGV4dCBjb250ZW50IGZvciB0aGUgbmFtZWQgY2hpbGQsIG9yIG51bGwgaWYg
> bm9uZQogICAgICovCiAgICBwdWJsaWMgc3RhdGljIFN0cmluZyBnZXRDaGls
> ZFRleHRUcmltKEVsZW1lbnQgcGFyZW50LAogICAgICAgICAgICAgICAgICAg
> ICAgICAgICAgICAgICAgICAgICAgICBTdHJpbmcgbmFtZSwgTmFtZXNwYWNl
> IG5zKSB7CiAgICAgICAgRWxlbWVudCBjaGlsZCA9IHBhcmVudC5nZXRDaGls
> ZChuYW1lLCBucyk7CiAgICAgICAgaWYgKGNoaWxkID09IG51bGwpIHsKICAg
> ICAgICAgICAgcmV0dXJuIG51bGw7CiAgICAgICAgfSBlbHNlIHsKICAgICAg
> ICAgICAgcmV0dXJuIGNoaWxkLmdldFRleHRUcmltKCk7CiAgICAgICAgfQog
> ICAgfQoKICAgIC8qKgogICAgICogPHA+CiAgICAgKiAgIEEgbmFtZXNwYWNl
> LWF3YXJlIHZlcnNpb24gb2YgPGNvZGU+CiAgICAgKiAgIHtAbGluayAjZ2V0
> Q2hpbGRUZXh0Tm9ybWFsaXplKG9yZy5qZG9tLkVsZW1lbnQsIGphdmEubGFu
> Zy5TdHJpbmcpfQogICAgICogICA8L2NvZGU+LgogICAgICogPC9wPgogICAg
> ICoKICAgICAqIEBwYXJhbSBwYXJlbnQgcGFyZW50IGVsZW1lbnQgd2l0aCB0
> aGUgY2hpbGQKICAgICAqIEBwYXJhbSBuYW1lIHRoZSBuYW1lIG9mIHRoZSBj
> aGlsZAogICAgICogQHBhcmFtIG5zIHRoZSBuYW1lc3BhY2Ugb2YgdGhlIGNo
> aWxkCiAgICAgKiBAcmV0dXJuIG5vcm1hbGl6ZWQgdGV4dCBjb250ZW50IGZv
> ciB0aGUgbmFtZWQgY2hpbGQsIG9yIG51bGwgaWYgbm9uZQogICAgICovCiAg
> ICBwdWJsaWMgc3RhdGljIFN0cmluZyBnZXRDaGlsZFRleHROb3JtYWxpemUo
> RWxlbWVudCBwYXJlbnQsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
> ICAgICAgICAgICAgICAgICAgU3RyaW5nIG5hbWUsIE5hbWVzcGFjZSBucykg
> ewogICAgICAgIEVsZW1lbnQgY2hpbGQgPSBwYXJlbnQuZ2V0Q2hpbGQobmFt
> ZSwgbnMpOwogICAgICAgIGlmIChjaGlsZCA9PSBudWxsKSB7CiAgICAgICAg
> ICAgIHJldHVybiBudWxsOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAg
> IHJldHVybiBjaGlsZC5nZXRUZXh0Tm9ybWFsaXplKCk7CiAgICAgICAgfQog
> ICAgfQoKCn0K
>
>
> ------=_NextPart_000_5cf6_5d5f_6df4
> Content-Type: application/octet-stream; name="Element
getChildTextNormalize.patch"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="Element
getChildTextNormalize.patch"
>
> SW5kZXg6IEVsZW1lbnQuamF2YQo9PT09PT09PT09PT09PT09PT09PT09PT09
> PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJD
> UyBmaWxlOiAvaG9tZS9jdnNwdWJsaWMvamRvbS9zcmMvamF2YS9vcmcvamRv
> bS9FbGVtZW50LmphdmEsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuOTkKZGlm
> ZiAtdSAtcjEuOTkgRWxlbWVudC5qYXZhCi0tLSBFbGVtZW50LmphdmEJMjAw
> MS8wOC8yOSAyMTo0NToyOAkxLjk5CisrKyBFbGVtZW50LmphdmEJMjAwMS8w
> OS8yOSAyMjo0MTo0MQpAQCAtNzMsNiArNzMsNyBAQAogICogQGF1dGhvciBL
> ZXZpbiBSZWdhbgogICogQGF1dGhvciBEYW4gU2NoYWZmZXIKICAqIEBhdXRo
> b3IgWXVzdWYgR29vbGFtYWJiYXMKKyAqIEBhdXRob3IgS2VudCBDLiBKb2hu
> c29uCiAgKiBAdmVyc2lvbiAxLjAKICAqLwogcHVibGljIGNsYXNzIEVsZW1l
> bnQgaW1wbGVtZW50cyBTZXJpYWxpemFibGUsIENsb25lYWJsZSB7CkBAIC03
> MDYsNiArNzA3LDI2IEBACiAKICAgICAvKioKICAgICAgKiA8cD4KKyAgICAg
> KiAgVGhpcyBjb252ZW5pZW5jZSBtZXRob2QgcmV0dXJucyB0aGUgbm9ybWFs
> aXplZCB0ZXh0dWFsIGNvbnRlbnQgb2YgdGhlIAorICAgICAqICAgIG5hbWVk
> IGNoaWxkIGVsZW1lbnQsIG9yIHJldHVybnMgbnVsbCBpZiB0aGVyZSdzIG5v
> IHN1Y2ggY2hpbGQuICAKKyAgICAgKiAgICBTZWUgPGNvZGU+e0BsaW5rICNn
> ZXRUZXh0Tm9ybWFsaXplKCl9PC9jb2RlPiBmb3IgZGV0YWlscyBvZiB0ZXh0
> CisgICAgICogICAgbm9ybWFsaXppbmcuCisgICAgICogPC9wPgorICAgICAq
> CisgICAgICogQHBhcmFtIG5hbWUgdGhl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mIHRleHQgbm9ybWFsaXppbmcuCisgICAgICogPC9wPgorICAg
> ICAqCisgICAgICogQHBhcmFtIG5hbWUgdGhlIG5hbWUgb2YgdGhlIGNoaWxk
> CisgICAgICogQHBhcmFtIG5zIHRoZSBuYW1lc3BhY2Ugb2YgdGhlIGNoaWxk
> CisgICAgICogQHJldHVybiBub3JtYWxpemVkIHRleHQgY29udGVudCBmb3Ig
> dGhlIG5hbWVkIGNoaWxkLCBvciBudWxsIGlmIG5vbmUKKyAgICAgKi8KKyAg
> ICBwdWJsaWMgU3RyaW5nIGdldENoaWxkVGV4dE5vcm1hbGl6ZShTdHJpbmcg
> bmFtZSwgTmFtZXNwYWNlIG5zKSB7CisgICAgICAgIEVsZW1lbnQgY2hpbGQg
> PSBnZXRDaGlsZChuYW1lLCBucyk7CisgICAgICAgIGlmIChjaGlsZCA9PSBu
> dWxsKSB7CisgICAgICAgICAgICByZXR1cm4gbnVsbDsKKyAgICAgICAgfSBl
> bHNlIHsKKyAgICAgICAgICAgIHJldHVybiBjaGlsZC5nZXRUZXh0Tm9ybWFs
> aXplKCk7CisgICAgICAgIH0KKyAgICB9CisKKyAgICAvKioKKyAgICAgKiA8
> cD4KICAgICAgKiBUaGlzIHNldHMgdGhlIGNvbnRlbnQgb2YgdGhlIGVsZW1l
> bnQgdG8gYmUgdGhlIHRleHQgZ2l2ZW4uCiAgICAgICogQWxsIGV4aXN0aW5n
> IHRleHQgY29udGVudCBhbmQgbm9uLXRleHQgY29udGV4dCBpcyByZW1vdmVk
> LgogICAgICAqIElmIHRoaXMgZWxlbWVudCBzaG91bGQgaGF2ZSBib3RoIHRl
> eHR1YWwgY29udGVudCBhbmQgbmVzdGVkIApAQCAtMTc0OCwyNCArMTc5MCwy
> NCBAQAogICAgIH0KIAogICAgIC8qKgorICAgICAqIDxwPgorICAgICAqIFRo
> aXMgcmVtb3ZlcyB0aGUgc3VwcGxpZWQgQXR0cmlidXRlIHNob3VsZCBpdCBl
> eGlzdC4KKyAgICAg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> ICE9IHRoaXMpKSB7DQotICAgICAgICAgICAgcmV0dXJuIGZhbHNlOw0KLSAg
> ICAgICAgfQ0KLSAgICAgICAgDQotICAgICAgICByZXR1cm4gYXR0cmlidXRl
> cy5yZW1vdmUoYXR0cmlidXRlKTsNCi0gICAgfQ0KLQ0KLSAgICAvKioNCi0g
> ICAgICogPHA+DQogICAgICAqICBUaGlzIHJldHVybnMgYSA8Y29kZT5TdHJp
> bmc8L2NvZGU+IHJlcHJlc2VudGF0aW9uIG9mIHRoZQogICAgICAqICAgIDxj
> b2RlPkVsZW1lbnQ8L2NvZGU+LCBzdWl0YWJsZSBmb3IgZGVidWdnaW5nLiBJ
> ZiB0aGUgWE1MCiAgICAgICogICAgcmVwcmVzZW50YXRpb24gb2YgdGhlIDxj
> b2RlPkVsZW1lbnQ8L2NvZGU+IGlzIGRlc2lyZWQsCg==
>
>
> ------=_NextPart_000_5cf6_5d5f_6df4
> Content-Type: application/octet-stream;
name="Element-getChildText_deleted.patch"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
filename="Element-getChildText_deleted.patch"
>
> SW5kZXg6IEVsZW1lbnQuamF2YQo9PT09PT09PT09PT09PT09PT09PT09PT09
> PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJD
> UyBmaWxlOiAvaG9tZS9jdnNwdWJsaWMvamRvbS9zcmMvamF2YS9vcmcvamRv
> bS9FbGVtZW50LmphdmEsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuOTkKZGlm
> ZiAtdSAtcjEuOTkgRWxlbWVudC5qYXZhCi0tLSBFbGVtZW50LmphdmEJMjAw
> MS8wOC8yOSAyMTo0NToyOAkxLjk5CisrKyBFbGVtZW50LmphdmEJMjAwMS8w
> OS8yOSAyMjowMDozMApAQCAtNjY3LDg1ICs2NjcsNiBAQAogCiAgICAgLyoq
> CiAgICAgICogPHA+Ci0gICAgICogIFRoaXMgY29udmVuaWVuY2UgbWV0aG9k
> IHJldHVybnMgdGhlIHRleHR1YWwgY29udGVudCBvZiB0aGUgbmFtZWQKLSAg
> ICAgKiAgICBjaGlsZCBlbGVtZW50LCBvciByZXR1cm5zIGFuIGVtcHR5IDxj
> b2RlPlN0cmluZzwvY29kZT4gKCIiKQotICAgICAqICAgIGlmIHRoZSBjaGls
> ZCBoYXMgbm8gdGV4dHVhbCBjb250ZW50LiBIb3dldmVyLCBpZiB0aGUgY2hp
> bGQgZG9lcwotICAgICAqICAgIG5vdCBleGlzdCwgPGNvZGU+bnVsbDwvY29k
> ZT4gaXMgcmV0dXJuZWQuCi0gICAgICogPC9wPgotICAgICAqCi0gICAgICog
> QHBhcmFtIG5hbWUgdGhlIG5hbWUgb2YgdGhlIGNoaWxkCi0gICAgICogQHJl
> dHVybiB0ZXh0IGNvbnRlbnQgZm9yIHRoZSBuYW1lZCBjaGlsZCwgb3IgbnVs
> bCBpZiBub25lCi0gICAgICovCi0gICAgcHVibGljIFN0cmluZyBnZXRDaGls
> ZFRleHQoU3RyaW5nIG5hbWUpIHsKLSAgICAgICAgRWxlbWVudCBjaGlsZCA9
> IGdldENoaWxkKG5hbWUpOwotICAgICAgICBpZiAoY2hpbGQgPT0gbnVsbCkg
> ewotICAgICAgICAgICAgcmV0dXJuIG51bGw7Ci0gICAgICAgIH0gZWxzZSB7
> Ci0gICAgICAgICAgICByZXR1cm4gY2hpbGQuZ2V0VGV4dCgpOwotICAgICAg
> ICB9Ci0gICAgfQotCi0gICAgLyoqCi0gICAgICogPHA+Ci0gICAgICogIFRo
> aXMgY29udmVuaWVuY2UgbWV0aG9kIHJldHVybnMgdGhlIHRyaW1tZWQgdGV4
> dHVhbCBjb250ZW50IG9mIHRoZSAKLSAgICAgKiAgICBuYW1lZCBjaGlsZCBl
> bGVtZW50LCBvciByZXR1cm5zIG51bGwgaWYgdGhlcmUncyBubyBzdWNoIGNo
> aWxkLiAgCi0gICAgICogICAgU2VlIDxjb2RlPntAbGluayAjZ2V0VGV4dFRy
> aW0oKX08L2NvZGU+IGZvciBkZXRhaWxzIG9mIHRleHQgdHJpbW1pbmcuCi0g
> ICAgICogPC9wPgotICAgICAqCi0gICAgICogQHBhcmFtIG5hbWUgdGhlIG5h
> bWUgb2YgdGhlIGNoaWxkCi0gICAgICogQHJldHVybiB0cmltbWVkIHRleHQg
> Y29udGVudCBmb3IgdGhlIG5hbWVkIGNoaWxkLCBvciBudWxsIGlmIG5vbmUK
> LSAgICAgKi8KLSAgICBwdWJsaWMgU3RyaW5nIGdldENoaWxkVGV4dFRyaW0o
> U3RyaW5nIG5hbWUpIHsKLSAgICAgICAgRWxlbWVudCBjaGlsZCA9IGdldENo
> aWxkKG5hbWUpOwotICAgICAgICBpZiAoY2hpbGQgPT0gbnVsbCkgewotICAg
> ICAgICAgICAgcmV0dXJuIG51bGw7Ci0gICAgICAgIH0gZWxzZSB7Ci0gICAg
> ICAgICAgICByZXR1cm4gY2hpbGQuZ2V0VGV4dFRyaW0oKTsKLSAgICAgICAg
> fQotICAgIH0KLQotICAgIC8qKgotICAgICAqIDxwPgotICAgICAqIFRoaXMg
> Y29udmVuaWVuY2UgbWV0aG9kIHJldHVybnMgdGhlIHRleHR1YWwgY29udGVu
> dCBvZiB0aGUgbmFtZWQKLSAgICAgKiBjaGlsZCBlbGVtZW50LCBvciByZXR1
> cm5zIG51bGwgaWYgdGhlcmUncyBubyBzdWNoIGNoaWxkLgotICAgICAqIDwv
> cD4KLSAgICAgKgotICAgICAqIEBwYXJhbSBuYW1lIHRoZSBuYW1lIG9mIHRo
> ZSBjaGlsZAotICAgICAqIEBwYXJhbSBucyB0aGUgbmFtZXNwYWNlIG9mIHRo
> ZSBjaGlsZAotICAgICAqIEByZXR1cm4gdGV4dCBjb250ZW50IGZvciB0aGUg
> bmFtZWQgY2hpbGQsIG9yIG51bGwgaWYgbm9uZQotICAgICAqLwotICAgIHB1
> YmxpYyBTdHJpbmcgZ2V0Q2hpbGRUZXh0KFN0cmluZyBuYW1lLCBOYW1lc3Bh
> Y2UgbnMpIHsKLSAgICAgICAgRWxlbWVudCBjaGlsZCA9IGdldENoaWxkKG5h
> bWUsIG5zKTsKLSAgICAgICAgaWYgKGNoaWxkID09IG51bGwpIHsKLSAgICAg
> ICAgICAgIHJldHVybiBudWxsOwotICAgICAgICB9IGVsc2UgewotICAgICAg
> ICAgICAgcmV0dXJuIGNoaWxkLmdldFRleHQoKTsKLSAgICAgICAgfQotICAg
> IH0KLQotICAgIC8qKgotICAgICAqIDxwPgotICAgICAqICBUaGlzIGNvbnZl
> bmllbmNlIG1ldGhvZCByZXR1cm5zIHRoZSB0cmltbWVkIHRleHR1YWwgY29u
> dGVudCBvZiB0aGUgCi0gICAgICogICAgbmFtZWQgY2hpbGQgZWxlbWVudCwg
> b3IgcmV0dXJucyBudWxsIGlmIHRoZXJlJ3Mgbm8gc3VjaCBjaGlsZC4gIAot
> ICAgICAqICAgIFNlZSA8Y29kZT57QGxpbmsgI2dldFRleHRUcmltKCl9PC9j
> b2RlPiBmb3IKLSAgICAgKiAgICBkZXRhaWxzIG9mIHRleHQgdHJpbW1pbmcu
> Ci0gICAgICogPC9wPgotICAgICAqCi0gICAgICogQHBhcmFtIG5hbWUgdGhl
> IG5hbWUgb2YgdGhlIGNoaWxkCi0gICAgICogQHBhcmFtIG5zIHRoZSBuYW1l
> c3BhY2Ugb2YgdGhlIGNoaWxkCi0gICAgICogQHJldHVybiB0cmltbWVkIHRl
> eHQgY29udGVudCBmb3IgdGhlIG5hbWVkIGNoaWxkLCBvciBudWxsIGlmIG5v
> bmUKLSAgICAgKi8KLSAgICBwdWJsaWMgU3RyaW5nIGdldENoaWxkVGV4dFRy
> aW0oU3RyaW5nIG5hbWUsIE5hbWVzcGFjZSBucykgewotICAgICAgICBFbGVt
> ZW50IGNoaWxkID0gZ2V0Q2hpbGQobmFtZSwgbnMpOwotICAgICAgICBpZiAo
> Y2hpbGQgPT0gbnVsbCkgewotICAgICAgICAgICAgcmV0dXJuIG51bGw7Ci0g
> ICAgICAgIH0gZWxzZSB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lKTsKKyAgICB9CisKKyAgICAvKioKICAgICAgKiA8cD4KLSAg
> ICAgKiBUaGlzIHJlbW92ZXMgdGhlIHN1cHBsaWVkIEF0dHJpYnV0ZSBzaG91
> bGQgaXQgZXhpc3QuDQotICAgICAqIDwvcD4NCi0gICAgICoNCi0gICAgICog
> QHBhcmFtIGF0dHJpYnV0ZSBSZWZlcmVuY2UgdG8gdGhlIGF0dHJpYnV0ZSB0
> byBiZSByZW1vdmVkLg0KLSAgICAgKiBAcmV0dXJuIHdoZXRoZXIgdGhlIGF0
> dHJpYnV0ZSB3YXMgcmVtb3ZlZA0KLSAgICAgKi8NCi0gICAgcHVibGljIGJv
> b2xlYW4gcmVtb3ZlQXR0cmlidXRlKEF0dHJpYnV0ZSBhdHRyaWJ1dGUpIHsN
> Ci0gICAgICAgIGlmIChhdHRyaWJ1dGVzID09IG51bGwgfHwgDQotICAgICAg
> ICAgICAoYXR0cmlidXRlID09IG51bGwpIHx8IChhdHRyaWJ1dGUuZ2V0UGFy
> ZW50KCkgIT0gdGhpcykpIHsNCi0gICAgICAgICAgICByZXR1cm4gZmFsc2U7
> DQotICAgICAgICB9DQotICAgICAgICANCi0gICAgICAgIHJldHVybiBhdHRy
> aWJ1dGVzLnJlbW92ZShhdHRyaWJ1dGUpOw0KLSAgICB9DQotDQotICAgIC8q
> Kg0KLSAgICAgKiA8cD4NCiAgICAgICogIFRoaXMgcmV0dXJucyBhIDxjb2Rl
> PlN0cmluZzwvY29kZT4gcmVwcmVzZW50YXRpb24gb2YgdGhlCiAgICAgICog
> ICAgPGNvZGU+RWxlbWVudDwvY29kZT4sIHN1aXRhYmxlIGZvciBkZWJ1Z2dp
> bmcuIElmIHRoZSBYTUwKICAgICAgKiAgICByZXByZXNlbnRhdGlvbiBvZiB0
> aGUgPGNvZGU+RWxlbWVudDwvY29kZT4gaXMgZGVzaXJlZCwK
>
>
> ------=_NextPart_000_5cf6_5d5f_6df4
> Content-Type: application/octet-stream;
name="Element-getChildText_deprecated.patch"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
filename="Element-getChildText_deprecated.patch"
>
> SW5kZXg6IEVsZW1lbnQuamF2YQo9PT09PT09PT09PT09PT09PT09PT09PT09
> PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJD
> UyBmaWxlOiAvaG9tZS9jdnNwdWJsaWMvamRvbS9zcmMvamF2YS9vcmcvamRv
> bS9FbGVtZW50LmphdmEsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuOTkKZGlm
> ZiAtdSAtcjEuOTkgRWxlbWVudC5qYXZhCi0tLSBFbGVtZW50LmphdmEJMjAw
> MS8wOC8yOSAyMTo0NToyOAkxLjk5CisrKyBFbGVtZW50LmphdmEJMjAwMS8w
> OS8zMCAwMTowOTo0MQpAQCAtNjc1LDYgKzY3NSw5IEBACiAgICAgICoKICAg
> ICAgKiBAcGFyYW0gbmFtZSB0aGUgbmFtZSBvZiB0aGUgY2hpbGQKICAgICAg
> KiBAcmV0dXJuIHRleHQgY29udGVudCBmb3IgdGhlIG5hbWVkIGNoaWxkLCBv
> ciBudWxsIGlmIG5vbmUKKyAgICAgKiBAZGVwcmVjYXRlZCBVc2UKKyAgICAg
> KiAgPGNvZGU+e0BsaW5rIEpET01IZWxwZXIjZ2V0Q2hpbGRUZXh0KEVsZW1l
> bnQsIGphdmEubGFuZy5TdHJpbmcpfTwvY29kZT4KKyAgICAgKiAgaW5zdGVh
> ZC4KICAgICAgKi8KICAgICBwdWJsaWMgU3RyaW5nIGdldENoaWxkVGV4dChT
> dHJpbmcgbmFtZSkgewogICAgICAgICBFbGVtZW50IGNoaWxkID0gZ2V0Q2hp
> bGQobmFtZSk7CkBAIC02OTQsNiArNjk3LDkgQEAKICAgICAgKgogICAgICAq
> IEBwYXJhbSBuYW1lIHRoZSBuYW1lIG9mIHRoZSBjaGlsZAogICAgICAqIEBy
> ZXR1cm4gdHJpbW1lZCB0ZXh0IGNvbnRlbnQgZm9yIHRoZSB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Ao=
>
>
> ------=_NextPart_000_5cf6_5d5f_6df4--
>
>
> --__--__--
>
> _______________________________________________
> To control your jdom-commits membership:
>
http://lists.denveronline.net/mailman/options/jdom-commits/youraddr@yourhost
.com
>
> End of jdom-commits Digest
>
More information about the jdom-commits
mailing list