mace-opensaml-users - Re: ObjectBuilders or XMLObjectBuilder?
Subject: OpenSAML user discussion
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: ObjectBuilders or XMLObjectBuilder?
- Date: Thu, 14 Sep 2006 06:22:56 -0400
- Priority: normal
The builders hide the implementation that's used for a given object. One
thing we heard with OpenSAML 1 was that people wanted an easier way to
replace or extend an implementation of some element. So now you can have
your builder build up whatever class you want so long as it implements the
interface to the element you want.
Here's the instructions for using the builders
https://authdev.it.ohio-state.edu/twiki/bin/view/Shibboleth/OSTwoUsrManJavaCreateFromScratch
Chad La Joie
Software Development Manager
2052-C Harris Building
202.687.0124
----- Original Message -----
From: Pedro Navarro Pérez
<>
Date: Thursday, September 14, 2006 5:44 am
Subject: ObjectBuilders or XMLObjectBuilder?
> Hello,
>
> If there is a builder for every object why on the tests you build
> the
> object in this way?:
>
> NameID nameid = (NameID) buildXMLObject(NameID.DEFAULT_ELEMENT_NAME);
>
> and nor like that:
>
> NameID nameid = new NameIDBuilder();
>
> Thanks
>
>
>
- ObjectBuilders or XMLObjectBuilder?, Pedro Navarro Pérez, 09/14/2006
- <Possible follow-up(s)>
- Re: ObjectBuilders or XMLObjectBuilder?, Chad La Joie, 09/14/2006
Archive powered by MHonArc 2.6.16.