单项选择题

下面()方法是输出获得XML文档的编码形式的。

A.getXmlVersion()
B.getDocType()
C.getXmlEncoding()
D.getLength()