Mick, Schema elements and types aren't objects or classes, so they don't implement interfaces.
You can define an abstract type, and then you extend that type by extension or by restriction. Using abstract types is pretty much guaranteed to cause you interoperability problems, though, so you shouldn't do it. Here's a hint: XML is not object oriented. Don't try to apply OO concepts. Anne On 6/26/05, Mick Knutson <[EMAIL PROTECTED]> wrote: > I want to be able to define a standard set of interfaces for all my scheme > classes. > Can I somehow add an "implements=MySchemeInterface" in the complext types > such as with: > > <xsd:complexType name="consumerActivityType" > implements="com.baselogic.MySchemeInterface"> > <xsd:sequence> > <xsd:element minOccurs="0" name="lastPinChangeDate" type="xsd:string"/> > <xsd:element minOccurs="0" name="lastPersonalCodeChangeDate" > type="xsd:string"/> > </xsd:sequence> > </xsd:complexType> > > > > > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE logic, inc. > (415) 648-1804 (S.F., CA) > http://www.BASELogic.com > > HP Consulting Services (Walnut Creek, CA) > > >
