Skip to content

Package: DefaultWithLexicalHandler

DefaultWithLexicalHandler

nameinstructionbranchcomplexitylinemethod
DefaultWithLexicalHandler()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
comment(char[], int, int)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
endCDATA()
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
endDTD()
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
endEntity(String)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
startCDATA()
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
startDTD(String, String, String)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
startEntity(String)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * Copyright (c) 2005, 2021 Oracle and/or its affiliates. All rights reserved.
3: *
4: * This program and the accompanying materials are made available under the
5: * terms of the Eclipse Distribution License v. 1.0, which is available at
6: * http://www.eclipse.org/org/documents/edl-v10.php.
7: *
8: * SPDX-License-Identifier: BSD-3-Clause
9: */
10:
11: package com.sun.xml.stream.buffer.sax;
12:
13: import org.xml.sax.SAXException;
14: import org.xml.sax.ext.LexicalHandler;
15: import org.xml.sax.helpers.DefaultHandler;
16:
17: public class DefaultWithLexicalHandler extends DefaultHandler implements LexicalHandler {
18:
19: public DefaultWithLexicalHandler() {
20: super();
21: }
22:
23: @Override
24: public void comment(char[] ch, int start, int length) throws SAXException { }
25:
26: @Override
27: public void startDTD(String name, String publicId, String systemId) throws SAXException { }
28:
29: @Override
30: public void endDTD() throws SAXException { }
31:
32: @Override
33: public void startEntity(String name) throws SAXException { }
34:
35: @Override
36: public void endEntity(String name) throws SAXException { }
37:
38: @Override
39: public void startCDATA() throws SAXException { }
40:
41: @Override
42: public void endCDATA() throws SAXException { }
43:
44: }