jaxp/src/share/classes/com/sun/org/apache/xerces/internal/impl/XMLStreamFilterImpl.java
equal
deleted
inserted
replaced
54 |
54 |
55 /**the very issue around a long discussion. but since we must pass the TCK, we have to allow |
55 /**the very issue around a long discussion. but since we must pass the TCK, we have to allow |
56 * hasNext() to advance the underlining stream in order to find the next acceptable event |
56 * hasNext() to advance the underlining stream in order to find the next acceptable event |
57 */ |
57 */ |
58 private boolean fStreamAdvancedByHasNext = false; |
58 private boolean fStreamAdvancedByHasNext = false; |
59 |
|
60 /** Creates a new instance of XMLStreamFilterImpl */ |
59 /** Creates a new instance of XMLStreamFilterImpl */ |
61 |
60 |
62 public XMLStreamFilterImpl(XMLStreamReader reader,StreamFilter filter){ |
61 public XMLStreamFilterImpl(XMLStreamReader reader,StreamFilter filter){ |
63 fStreamReader = reader; |
62 fStreamReader = reader; |
64 this.fStreamFilter = filter; |
63 this.fStreamFilter = filter; |
434 * |
433 * |
435 * @return |
434 * @return |
436 */ |
435 */ |
437 public String getVersion() { |
436 public String getVersion() { |
438 return fStreamReader.getVersion(); |
437 return fStreamReader.getVersion(); |
439 |
|
440 } |
438 } |
441 |
439 |
442 /** |
440 /** |
443 * |
441 * |
444 * @return |
442 * @return |
530 * @return |
528 * @return |
531 */ |
529 */ |
532 public String getAttributeLocalName(int index){ |
530 public String getAttributeLocalName(int index){ |
533 return fStreamReader.getAttributeLocalName(index); |
531 return fStreamReader.getAttributeLocalName(index); |
534 } |
532 } |
535 |
|
536 } |
533 } |