Code example for ContentHandler

Methods: startPrefixMapping

0
 
    public void startPrefixMapping(String prefix, String uri)
            throws SAXException { 
        LOG.debug("< startPrefixMapping >");
 
        contentMock.startPrefixMapping(EasyMock.eq(prefix), EasyMock.eq(uri));
    } 
 
    public void endPrefixMapping(String prefix) throws SAXException {
        LOG.debug("< endPrefixMapping >");
 
        contentMock.endPrefixMapping(EasyMock.eq(prefix));
    } 
 
    public void ignorableWhitespace(char[] ch, int start, int length)
            throws SAXException { 
        LOG.debug("< ignorableWhitespace >");
 
        StringBuffer buffer = new StringBuffer(length);
        buffer.append(ch, start, length);