public class SchemaGenerator extends Object
Constructor and Description |
---|
SchemaGenerator() |
Modifier and Type | Method and Description |
---|---|
JBossXSModel |
generateXSDSchema(QName xmlType,
Class javaType) |
void |
setRestrictToTargetNamespace(boolean restrictToTargetNamespace)
Flag that indicates that the types generated fall under the target namespace
default is false
|
public JBossXSModel generateXSDSchema(QName xmlType, Class javaType)
public void setRestrictToTargetNamespace(boolean restrictToTargetNamespace)
restrictToTargetNamespace
- The restrictToTargetNamespace to set.Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.