|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.xb.builder.JBossXBBuilder
public class JBossXBBuilder
JBossXBBuilder.
| Constructor Summary | |
|---|---|
JBossXBBuilder()
|
|
| Method Summary | ||
|---|---|---|
static SchemaBinding |
build(Class<?> root)
Build the SchemaBinding from the class |
|
static void |
build(SchemaBinding schemaBinding,
Class<?> root)
Build from a preparsed schema binding |
|
static String |
generateXMLNameFromClassName(org.jboss.reflect.spi.TypeInfo typeInfo,
boolean ignoreLowerLine)
Generate an xml name from a clazz name |
|
static String |
generateXMLNameFromJavaName(String string,
boolean dash,
boolean ignoreLowerLine)
Generate an xml name from a java name |
|
protected static void |
initSchema(SchemaBinding schemaBinding,
org.jboss.reflect.spi.ClassInfo classInfo)
Initialize the schema binding from the root |
|
static
|
newInitializer(Class<T> root)
Create a new schema binding initializer |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JBossXBBuilder()
| Method Detail |
|---|
public static <T> SchemaBindingInitializer newInitializer(Class<T> root)
T - the root typeroot - the root class
IllegalArgumentException - for a null root
public static void build(SchemaBinding schemaBinding,
Class<?> root)
schemaBinding - the schema bindingroot - the root
IllegalArgumentException - for a null schema binding or rootpublic static SchemaBinding build(Class<?> root)
root - the root
IllegalArgumentException - for a null root
protected static void initSchema(SchemaBinding schemaBinding,
org.jboss.reflect.spi.ClassInfo classInfo)
schemaBinding - the schema bindingclassInfo - the classInfo
public static String generateXMLNameFromClassName(org.jboss.reflect.spi.TypeInfo typeInfo,
boolean ignoreLowerLine)
typeInfo - the typeInfoignoreLowerLine - whether to ignore the lower line
public static String generateXMLNameFromJavaName(String string,
boolean dash,
boolean ignoreLowerLine)
string - the java namedash - whether to insert dashes to seperate wordsignoreLowerLine - TODO ignore the lower line
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||