Skip to content

Method: startCDATA()

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: }