: XMLBeans : How can I get a value and not an xml fragment?
Hi, I had to face a related Problem recently:
How to get a (java)-value from an XmlObject without knowing
its actual type?
Actually I'm doing something like this:
Object=getValue(XmlObject xo){
if (xo instanceof
Hi, I had to face a related Problem recently:
How to get a (java)-value from an XmlObject without knowing its actual type?
Actually I'm doing something like this:
Object=getValue(XmlObject xo){
if (xo instanceof org.apache.xmlbeans.impl.values.XmlObjectBase){
return
I'm not sure how the type is defined, but aren't there getters and
setters or something like intValue() to get this.
You are seeing this because getM() returns some kind of type
associated with xml (element in this case) and not some kind of java
primitive.
The docs explain things far better than
3 matches
Mail list logo