本文整理了Java中org.codehaus.modello.model.Model.getRoot()
方法的一些代码示例,展示了Model.getRoot()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Model.getRoot()
方法的具体详情如下:
包路径:org.codehaus.modello.model.Model
类名称:Model
方法名:getRoot
暂无
代码示例来源:origin: org.codehaus.modello/modello-plugin-dom4j
private void writeAllClassesParser( Model objectModel, JClass jClass )
{
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
for ( ModelClass clazz : getClasses( objectModel ) )
{
writeClassParser( clazz, jClass, root.getName().equals( clazz.getName() ) );
}
}
代码示例来源:origin: org.codehaus.modello/modello-plugin-jackson
private void writeAllClassesReaders( Model objectModel, JClass jClass )
{
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
for ( ModelClass clazz : getClasses( objectModel ) )
{
if ( isTrackingSupport( clazz ) )
{
continue;
}
writeClassReaders( clazz, jClass, root.getName().equals( clazz.getName() ) );
}
}
代码示例来源:origin: org.codehaus.modello/modello-plugin-xpp3
private void writeAllClassesReaders( Model objectModel, JClass jClass )
{
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
for ( ModelClass clazz : getClasses( objectModel ) )
{
if ( isTrackingSupport( clazz ) )
{
continue;
}
writeClassReaders( clazz, jClass, root.getName().equals( clazz.getName() ) );
}
}
代码示例来源:origin: org.codehaus.modello/modello-plugin-xpp3
private void writeAllClassesParser( Model objectModel, JClass jClass )
{
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
for ( ModelClass clazz : getClasses( objectModel ) )
{
if ( isTrackingSupport( clazz ) )
{
continue;
}
writeClassParser( clazz, jClass, root.getName().equals( clazz.getName() ) );
}
}
代码示例来源:origin: org.codehaus.modello/modello-plugin-jackson
private void writeAllClassesParser( Model objectModel, JClass jClass )
{
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
for ( ModelClass clazz : getClasses( objectModel ) )
{
if ( isTrackingSupport( clazz ) )
{
continue;
}
writeClassParser( clazz, jClass, root.getName().equals( clazz.getName() ) );
}
}
代码示例来源:origin: org.codehaus.modello/modello-plugin-stax
/**
* Write code to parse every classes from a model.
*
* @param objectModel the model
* @param jClass the generated class source file
* @throws ModelloException
* @see {@link #writeClassParser(ModelClass, JClass, boolean)}
*/
private void writeAllClassesParser( Model objectModel, JClass jClass )
throws ModelloException
{
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
for ( ModelClass clazz : getClasses( objectModel ) )
{
writeClassParser( clazz, jClass, root.getName().equals( clazz.getName() ) );
}
}
代码示例来源:origin: org.codehaus.modello/modello-plugin-xdoc
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-xsd
w.addAttribute( "elementFormDefault", "qualified" );
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ),
getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-converters
String root = objectModel.getRoot( getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-stax
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ),
getGeneratedVersion() );
ModelField field = root.getField( value, getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-jdom
constCode.add( "lineSeparator = \"\\n\";" );
String root = objectModel.getRoot( getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-jackson
jClass.addField( factoryField );
String root = objectModel.getRoot( getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-dom4j
String root = objectModel.getRoot( getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-xpp3
String root = objectModel.getRoot( getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-stax
jClass.addConstructor( constructor );
String root = objectModel.getRoot( getGeneratedVersion() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-stax
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
JClass rootType = new JClass( root.getName() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-dom4j
ModelClass root = objectModel.getClass( objectModel.getRoot( getGeneratedVersion() ), getGeneratedVersion() );
JClass rootType = new JClass( root.getName() );
代码示例来源:origin: org.codehaus.modello/modello-plugin-sax
String root = objectModel.getRoot( getGeneratedVersion() );
内容来源于网络,如有侵权,请联系作者删除!