< prev index next >

src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/generator/bean/ObjectFactoryGeneratorImpl.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 227,238 **** m.body()._return( exp ); m.javadoc() .append("Create an instance of ") ! .append(exposedElementType) ! .append("}"); XmlElementDeclWriter xemw = m.annotate2(XmlElementDeclWriter.class); xemw.namespace(namespaceURI).name(localPart); if(scope!=null) xemw.scope(scope); --- 227,242 ---- m.body()._return( exp ); m.javadoc() .append("Create an instance of ") ! .append(exposedElementType); ! m.javadoc().addParam($value) ! .append("Java instance representing xml element's value."); ! m.javadoc().addReturn() ! .append("the new instance of ") ! .append(exposedElementType); XmlElementDeclWriter xemw = m.annotate2(XmlElementDeclWriter.class); xemw.namespace(namespaceURI).name(localPart); if(scope!=null) xemw.scope(scope);
< prev index next >