Package org.codehaus.stax2.validation

Examples of org.codehaus.stax2.validation.XMLValidationProblem


    }

    public void reportValidationProblem(String msg, int severity)
        throws XMLValidationException
    {
        reportValidationProblem(new XMLValidationProblem(getLastCharLocation(),
                                                         msg, severity));
    }
View Full Code Here


    }

    public void reportValidationProblem(String msg)
        throws XMLValidationException
    {
        reportValidationProblem(new XMLValidationProblem(getLastCharLocation(),
                                                         msg,
                                                         XMLValidationProblem.SEVERITY_ERROR));
    }
View Full Code Here

    }

    public void reportValidationProblem(Location loc, String msg)
        throws XMLValidationException
    {
        reportValidationProblem(new XMLValidationProblem(getLastCharLocation(),
                                                         msg));
    }
View Full Code Here

    public void reportValidationProblem(String format, Object arg)
        throws XMLValidationException
    {
        String msg = MessageFormat.format(format, new Object[] { arg });
        reportValidationProblem(new XMLValidationProblem(getLastCharLocation(),
                                                         msg));
    }
View Full Code Here

    public void reportValidationProblem(String format, Object arg, Object arg2)
        throws XMLValidationException
    {
        String msg = MessageFormat.format(format, new Object[] { arg, arg2 });
        reportValidationProblem(new XMLValidationProblem(getLastCharLocation(),
                                                         msg));
    }
View Full Code Here

        public void reportUndeclared(ValidationContext ctxt)
            throws XMLValidationException
        {
            String msg = MessageFormat.format(ErrorConsts.ERR_DTD_UNDECLARED_ENTITY, new Object[] { (mIsPe ? "parsed" : "general"), mName });
            ctxt.reportProblem(new XMLValidationProblem
                               (mLocation, msg,
                                XMLValidationProblem.SEVERITY_FATAL));
        }
View Full Code Here

        throws XMLStreamException
    {
        if (loc == null) {
            loc = getLastCharLocation();
        }
        _reportProblem(rep, new XMLValidationProblem(loc, msg, XMLValidationProblem.SEVERITY_ERROR, probType));
    }
View Full Code Here

    }

    public void reportValidationProblem(String msg, int severity)
        throws XMLStreamException
    {
        reportValidationProblem(new XMLValidationProblem(getLastCharLocation(),
                                                         msg, severity));
    }
View Full Code Here

    }

    public void reportValidationProblem(String msg)
        throws XMLStreamException
    {
        reportValidationProblem(new XMLValidationProblem(getLastCharLocation(),
                                                         msg,
                                                         XMLValidationProblem.SEVERITY_ERROR));
    }
View Full Code Here

    }

    public void reportValidationProblem(Location loc, String msg)
        throws XMLStreamException
    {
        reportValidationProblem(new XMLValidationProblem(loc, msg));
    }
View Full Code Here

TOP

Related Classes of org.codehaus.stax2.validation.XMLValidationProblem

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.