StAXEventAllocatorBase.java 文件源码

java
阅读 24 收藏 0 点赞 0 评论 0

项目:openjdk-jdk10 作者:
/**
* This method allocates an event or set of events given the current state of
* the XMLStreamReader and adds the event or set of events to the consumer that
* was passed in.
* @param streamReader The XMLStreamReader to allocate from
* @param consumer The XMLEventConsumer to add to.
*/
 public void allocate(XMLStreamReader streamReader, XMLEventConsumer consumer) throws XMLStreamException {
     consumer.add(getXMLEvent(streamReader));

 }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号