< prev index next >

src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/XmlVisitor.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 143,153 **** * sees whitespace it can safely skip it. * * <p> * If this method returns true, all the whitespaces are considered significant * and thus need to be reported as a {@link XmlVisitor#text} event. Furthermore, ! * if the element has no children (like &lt;foo/>), then it has to be reported * an empty {@link XmlVisitor#text} event. */ boolean expectText(); } } --- 143,153 ---- * sees whitespace it can safely skip it. * * <p> * If this method returns true, all the whitespaces are considered significant * and thus need to be reported as a {@link XmlVisitor#text} event. Furthermore, ! * if the element has no children (like {@code <foo/>}), then it has to be reported * an empty {@link XmlVisitor#text} event. */ boolean expectText(); } }
< prev index next >