StreamFilter (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.stream Interface StreamFilter


public interface StreamFilter

This interface declares a simple filter interface that one can create to filter XMLStreamReaders

版本:
1.0
作者:
Copyright (c) 2003 by BEA Systems. All Rights Reserved.

方法摘要
 boolean accept(XMLStreamReader reader)
          Tests whether the current state is part of this stream.
 

方法详细信息

accept

boolean accept(XMLStreamReader reader)
Tests whether the current state is part of this stream. This method will return true if this filter accepts this event and false otherwise. The method should not change the state of the reader when accepting a state.

参数:
reader - the event to test
返回:
true if this filter accepts this event, false otherwise

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.