John,

Have you considered querying org.exolab.castor.xml.schema.Schema
for the schema rules instead of the generated source?

      > -----Original Message-----
      > From: John Thorhauer [mailto:[EMAIL PROTECTED]]
      > Sent: Thursday, November 21, 2002 10:58 AM
      > To: [EMAIL PROTECTED]
      > Subject: [castor-dev] gettng schema info from a TypeValidator
      > 
      > 
      > Hi,
      > 
      > I am trying to use an XMLClassDescriptor subclass 
      > generated by Castor to
      > gather schema validation information for other uses in 
      > my application. 
      > I am wondering if there is a way to get information 
      > from TypeValidator
      > implementations within an XMLClassDescriptor?  For example the
      > IntegerValidator class has a method like this:
      > 
      > setTotalDigits(int totalDig) 
      > 
      > I would like to be able to load up my 
      > XMLClassDescriptor and dig down in
      > and get the total digits but there isnt any method like:
      > 
      > getTotalDigits()
      > 
      > Any ideas on how I can do this?
      > 
      > Thanks,
      > John
      > -- 
      > ********************************
      > ** John Thorhauer
      > ** [EMAIL PROTECTED]
      > ** take a look at:
      > **  http://tambora.zenplex.org
      > **  http://www.zenplex.org
      > **  http://www.zenplex.com
      > ********************************
      > 
      > ----------------------------------------------------------- 
      > If you wish to unsubscribe from this mailing, send mail to
      > [EMAIL PROTECTED] with a subject of:
      >         unsubscribe castor-dev
      > 
      > 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to