Package xdoclet

Examples of xdoclet.XmlSubTask


        return task;
    }

    private XmlSubTask initSubTask() throws Exception
    {
        XmlSubTask subTask = (XmlSubTask)this.getContextClassLoader().loadClass(_subTaskName).newInstance();

        subTask.setEngine(TemplateEngine.getEngineInstance());
        if (_destFile != null)
        {
            subTask.setDestinationFile(_destFile.getName());
        }

        String name;

        for (Iterator it = _subTaskProperties.keySet().iterator(); it.hasNext();)
View Full Code Here


     * @doc.tag                     type="content"
     */
    public String publicId() throws XDocletException
    {
        try {
            XmlSubTask subTask = (XmlSubTask) getDocletContext().getActiveSubTask();

            return subTask.getPublicId();
        }
        catch (ClassCastException ex) {
            throw new XDocletException(ex, Translator.getString(XDocletMessages.class, XDocletMessages.NO_XML_TAGS_ALLOWED));
        }
    }
View Full Code Here

     * @doc.tag                     type="content"
     */
    public String systemId() throws XDocletException
    {
        try {
            XmlSubTask subTask = (XmlSubTask) getDocletContext().getActiveSubTask();

            return subTask.getSystemId();
        }
        catch (ClassCastException ex) {
            throw new XDocletException(ex, Translator.getString(XDocletMessages.class, XDocletMessages.NO_XML_TAGS_ALLOWED));
        }
    }
View Full Code Here

     * @doc.tag                     type="content"
     */
    public String schema() throws XDocletException
    {
        try {
            XmlSubTask subTask = (XmlSubTask) getDocletContext().getActiveSubTask();

            return subTask.getSchema();
        }
        catch (ClassCastException ex) {
            throw new XDocletException(ex, Translator.getString(XDocletMessages.class, XDocletMessages.NO_XML_TAGS_ALLOWED));
        }
    }
View Full Code Here

        return task;
    }

    private XmlSubTask initSubTask() throws Exception
    {
        XmlSubTask subTask = (XmlSubTask)this.getContextClassLoader().loadClass(_subTaskName).newInstance();

        subTask.setEngine(TemplateEngine.getEngineInstance());
        if (_destFile != null)
        {
            subTask.setDestinationFile(_destFile.getName());
        }

        String name;

        for (Iterator it = _subTaskProperties.keySet().iterator(); it.hasNext();)
View Full Code Here

TOP

Related Classes of xdoclet.XmlSubTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.