java - Generate a xsd for a JSR-303 annotation-based bean -
is there tool or maven plugin generate xsd-file jsr-303 annotation-based bean? use springmvc rest services , validate beans using jsr-303. want generate based on beans xsd files.
i assume re asking generating xml configuration files. xsd files schema files configuration files have adhere to. jsr 303 schema file can found @ http://www.jboss.org/xml/ns/javax/validation/mapping/validation-mapping-1.0.xsd.
from want create xml configuration from? annotated entities (annotations default configuration source can overridden xml)? or want create xml configuration files scratch? former, don't think there tools generate bean validation xml configuration files annotated entities. latter, ides (for example idea) have basic support bean validation , xml configuration.
is answering question?
Comments
Post a Comment