ProcessingInstruction (Java EE 5)

Java EE API


javax.xml.stream.events Interface ProcessingInstruction

All Superinterfaces:
XMLEvent, XMLStreamConstants

public interface ProcessingInstruction
extends XMLEvent

Implements: XMLEvent

描述处理指令中的数据的接口。
英文文档:

An interface that describes the data found in processing instructions

Version:
1.0
Author:
Copyright (c) 2003 by BEA Systems. All Rights Reserved.

Field Summary
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
 
Method Summary
 String
 String
 
Methods inherited from interface javax.xml.stream.events.XMLEvent
 

Method Detail

public String getTarget()
处理指令的目标部分。
return PI 的字符串值或 null
英文文档:

getTarget

String getTarget()
The target section of the processing instruction

Returns:
the String value of the PI or null

public String getData()
处理指令的数据部分。
return PI 数据的字符串值或 null
英文文档:

getData

String getData()
The data section of the processing instruction

Returns:
the String value of the PI's data or null


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!