The method name is a String. Method defines some common names, but not all the names. You can have other serializers responding to other methods, so it's just a place holder for names.
arkin Wong Kok Wai wrote: > > Similar comments for setters that accept a string: should you check for both > null > and zero-length string before assigning? > > For setMethod method in OutputFormat, why not pass an instance of Method > instead of > String? > > cheers, > Wong > > Assaf Arkin wrote: > > > You have some sharp eyes :-) > > > > arkin > > > > Wong Kok Wai wrote: > > > > > > A quick comment: In QName, the localname checking is only for null. > > > Should add > > > checking for zero-length string too? -- ---------------------------------------------------------------------- Assaf Arkin www.exoffice.com CTO, Exoffice Technologies, Inc. www.exolab.org