gboat2.base.bridge.util.xml
类 XmlCharacterEscapeHandler
java.lang.Object
gboat2.base.bridge.util.xml.XmlCharacterEscapeHandler
- 所有已实现的接口:
- com.sun.xml.bind.marshaller.CharacterEscapeHandler
public class XmlCharacterEscapeHandler
- extends Object
- implements com.sun.xml.bind.marshaller.CharacterEscapeHandler
对 XML 特殊字符进行转义处理的类
- 从以下版本开始:
- 3.0
- 作者:
- 何明旺
方法摘要 |
void |
escape(char[] buf,
int start,
int len,
boolean isAttValue,
Writer out)
Escape characters inside the buffer and send the output to the writer. |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlCharacterEscapeHandler
public XmlCharacterEscapeHandler()
escape
public void escape(char[] buf,
int start,
int len,
boolean isAttValue,
Writer out)
throws IOException
- Escape characters inside the buffer and send the output to the writer.
- 指定者:
- 接口
com.sun.xml.bind.marshaller.CharacterEscapeHandler
中的 escape
- 抛出:
IOException
- if something goes wrong, IOException can be thrown to stop the marshalling process.
Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.