src/main/java/org/fuin/srcgen4j/core/velocity/ParameterizedTemplateModel.java
public static ParameterizedTemplateModel create(final Reader reader) {
        try {
            final JaxbHelper helper = new JaxbHelper();
            final ParameterizedTemplateModel pc = helper.create(reader, createJaxbContext());
            Contract.requireValid(pc);
            return pc;
        } catch (final UnmarshalObjectException ex) {
            throw new RuntimeException(ex);
        }
    }
public static ParameterizedTemplateModel create(final Reader reader) {
        try {
            final JaxbHelper helper = new JaxbHelper();
            final ParameterizedTemplateModel pc = helper.create(reader, createJaxbContext());
            Contract.requireValid(pc);
            return pc;
        } catch (final UnmarshalObjectException ex) {
            throw new RuntimeException(ex);
        }
    }
public static ParameterizedTemplateModel create ( final Reader reader ) { try { final JaxbHelper helper = new JaxbHelper ( ) ; final ParameterizedTemplateModel pc = helper . create ( reader , createJaxbContext ( ) ) ; Contract . requireValid ( pc ) ; return pc ; } catch ( final UnmarshalObjectException ex ) { throw new RuntimeException ( ex ) ; } }
Creates an instance by reading the XML from a reader.

@param reader
Reader to use.

@return New instance.
Creates an instance by reading the XML from a reader .