equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
436 public R visitStartElement(StartElementTree node, P p) { |
436 public R visitStartElement(StartElementTree node, P p) { |
437 return scan(node.getAttributes(), p); |
437 return scan(node.getAttributes(), p); |
438 } |
438 } |
439 |
439 |
440 /** |
440 /** |
|
441 * {@inheritDoc} This implementation scans the children in left to right order. |
|
442 * |
|
443 * @param node {@inheritDoc} |
|
444 * @param p {@inheritDoc} |
|
445 * @return the result of scanning |
|
446 * @since 10 |
|
447 */ |
|
448 @Override |
|
449 public R visitSummary(SummaryTree node, P p) { |
|
450 R r = scan(node.getSummary(), p); |
|
451 return r; |
|
452 } |
|
453 |
|
454 /** |
441 * {@inheritDoc} This implementation returns {@code null}. |
455 * {@inheritDoc} This implementation returns {@code null}. |
442 * |
456 * |
443 * @param node {@inheritDoc} |
457 * @param node {@inheritDoc} |
444 * @param p {@inheritDoc} |
458 * @param p {@inheritDoc} |
445 * @return the result of scanning |
459 * @return the result of scanning |