[jibx-users] xsd in jar?

2015-06-19 Thread Marvin Wolfthal
Is there a way to reference an XSD in a jar when generating code?

 

Marvin Wolfthal

email: m...@weichi.com

 

--
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


Re: [jibx-users] bug

2015-06-07 Thread Marvin Wolfthal
Excuse my idiocy, of course you can't generate a package name with

a Java keyword in it.

 

 Any idea why this would cause the maven plugin to fail code-gen?

 It doesn't like import. If I change it to impor it works.

 xmlns:exp= http://www.xyz.org/utils/dbsvn/config/schema/import
http://www.xyz.org/utils/dbsvn/config/schema/import;

 

 

Marvin Wolfthal

email: m...@weichi.com

 

--
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


[jibx-users] fixed attributes

2015-06-05 Thread Marvin Wolfthal
When an attribute is declared as

xs:attribute name=x fixed=y/

Shouldn't we get only the accessor:

 

  public String getX(){ return y; }

 

?

 

Marvin Wolfthal

email: m...@weichi.com

 

--
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


[jibx-users] customize method names

2015-05-23 Thread Marvin Wolfthal
The following declaration

 

xs:complexType name=Statement
xs:simpleContent
xs:extension base=xs:string
xs:attribute name=name type=xs:string/
   ...

... 

/xs:extension
/xs:simpleContent
/xs:complexType

 

produces a class Statement where the text node is

 

private String string;

 

with accessors getString() and setString() - I'd like to have these
generated as getText() and setText()

 

How do I do that?

 

Thanks

 

 

Marvin Wolfthal

email: m...@weichi.com

 

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


[jibx-users] custom mapping to Properties

2015-05-21 Thread Marvin Wolfthal
Given a name-value pair element:

 

xs:complexType name=NVP
xs:attribute name=name type=xs:string use=required/
xs:attribute name=value type=xs:string use=required/
/xs:complexType

 

and a collection:


xs:complexType name=Variables
xs:sequence
xs:element name=Variable type=NVP maxOccurs=unbounded/
/xs:sequence
/xs:complexType

 

How would one map the collection to java.util.Properties?

 

Thanks,

Marvin Wolfthal

email: m...@weichi.com

 

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


[jibx-users] class names

2011-03-02 Thread Marvin Wolfthal


  
  
Is there a customization
  that appends a suffix to all generated class names?
  Thanks,
  Marvin

  


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users