|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.stream Interface EventFilter
public interface EventFilter
此接口声明了一个简单的过滤器接口,用户可创建它来过滤 XMLEventReader。
version | 1.0 |
This interface declares a simple filter interface that one can create to filter XMLEventReaders
- Version:
- 1.0
- Author:
- Copyright (c) 2003 by BEA Systems. All Rights Reserved.
Method Summary | |
---|---|
boolean |
accept(XMLEvent event)
Tests whether this event is part of this stream. |
Method Detail |
---|
public boolean
accept(XMLEvent event)
测试此事件是否为此流的一部分。如果此过滤器接受此事件,则此方法返回 true,否则返回 false。
event | 要测试的事件 |
return | 如果此过滤器接收此事件,则返回 true,否则返回 false |
accept
boolean accept(XMLEvent event)
- Tests whether this event is part of this stream. This method
will return true if this filter accepts this event and false
otherwise.
- Parameters:
event
- the event to test- Returns:
- true if this filter accepts this event, false otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!