?? attributewriter.java
字號:
package org.codehaus.xfire.aegis.jdom;import javax.xml.namespace.QName;import org.codehaus.xfire.aegis.AbstractMessageWriter;import org.codehaus.xfire.aegis.MessageWriter;import org.jdom.Attribute;public class AttributeWriter extends AbstractMessageWriter{ private Attribute att; public AttributeWriter(Attribute att) { this.att = att; } public void writeValue(Object value) { att.setValue(value.toString()); } public MessageWriter getAttributeWriter(String name) { throw new IllegalStateException(); } public MessageWriter getAttributeWriter(String name, String namespace) { throw new IllegalStateException(); } public MessageWriter getAttributeWriter(QName qname) { throw new IllegalStateException(); } public MessageWriter getElementWriter(String name) { throw new IllegalStateException(); } public MessageWriter getElementWriter(String name, String namespace) { throw new IllegalStateException(); } public MessageWriter getElementWriter(QName qname) { throw new IllegalStateException(); } public String getPrefixForNamespace( String namespace ) { throw new IllegalStateException(); } public String getPrefixForNamespace(String namespace, String hint) { throw new IllegalStateException(); } public void close() { }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -