Package org.axsl.fo

Examples of org.axsl.fo.FoTreeException


     */
    protected MathMLDocument createDOMDocument() throws FoTreeException {
        try {
            return this.getGraphicServer().makeMathDocument();
        } catch (final GraphicException e) {
            throw new FoTreeException(e);
        }
    }
View Full Code Here


            final boolean shouldRender = this.getSessionConfig().isModeRender();
            if (shouldRender) {
                render(event.getPageSequence());
            }
        } catch (final FOrayException e) {
            throw new FoTreeException(e);
        }
    }
View Full Code Here

    public void foDocumentComplete(final FoTreeEvent event) throws FoTreeException {
        getCreatedAreaTree().contentComplete();
        try {
            stopRenderer();
        } catch (final SAXException e) {
            throw new FoTreeException(e);
        }
    }
View Full Code Here

     * @param message The message indicating the reason for the exception.
     * @throws FoTreeException Always, as that is the purpose of this method.
     */
    public static void throwException(final String contextMessage,
            final String message) throws FoTreeException {
        final FoTreeException exception = new FoTreeException(message);
        exception.setContextMessage(contextMessage);
        throw exception;
    }
View Full Code Here

            this.rootFObj = (Root) fobj;
            this.rootFObj.setFOTreeBuilder(this);
            return;
        }
        if (fobj.getName().equals("root")) {
            final FoTreeException fote = new FoTreeException("Root element is "
                    + "missing the namespace declaration: "
                    + "http://www.w3.org/1999/XSL/Format");
            fote.setContextMessage(fobj.getContextMessage());
            throw new SAXException(fote);
        }
        final FoTreeException fote = new FoTreeException("Root element must be "
                + "root, not " + fobj.getName());
        fote.setContextMessage(fobj.getContextMessage());
        throw new SAXException(new FoTreeException(fote));
    }
View Full Code Here

     */
    protected SVGDocument createDOMDocument() throws FoTreeException {
        try {
            return this.getGraphicServer().makeSvgDocument();
        } catch (final GraphicException e) {
            throw new FoTreeException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.axsl.fo.FoTreeException

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.