[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: RE: XmlBeans: QName -> Java FQN?
From: "Eric Vasilik" <ericvas () bea ! com>
Date: 2004-03-22 17:26:26
Message-ID: 4B2B4C417991364996F035E1EE39E2E10D8E96 () uskiex01 ! amer ! bea ! com
[Download RAW message or body]
You should be able to do the following:
SchemaType t =
findType(
new QName(
"http://www.w3.org/2001/XMLSchema", "string" ) );
t.getFullJavaName()
to get the name of the interface which represents that type.
- Eric
-----Original Message-----
From: Aleksander Slominski [mailto:aslom@cs.indiana.edu]
Sent: Friday, March 19, 2004 12:59 PM
To: xmlbeans-dev@xml.apache.org
Subject: XmlBeans: QName -> Java FQN?
hi,
is there a simple function that can be called that first will give
canonical XMLBeans type FQN for given XSD QName (for examples xsd:String
-> XmlString)? here is the list but it seems stupid to put this list
into my code ...
http://xml.apache.org/xmlbeans/docs/guide/conXMLBeansSupportBuiltInSchem
aTypes.html
second: can i get Java FQN for given schema qname? can this happen
without compilation of schema or based on existing compiled schema (can
behavior be selected)? i am sure that it is somewhere in source code ...
but my cursory look on StscJavaizer and friends did not help much :(
thanks,
alek
--
The best way to predict the future is to invent it - Alan Kay
- ---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
- ---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic