|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.apache.jasper.xmlparser.XMLString
org.apache.jasper.xmlparser.XMLStringBuffer
public class XMLStringBuffer
XMLString is a structure used to pass character arrays. However, XMLStringBuffer is a buffer in which characters can be appended and extends XMLString so that it can be passed to methods expecting an XMLString object. This is a safe operation because it is assumed that any callee will not modify the contents of the XMLString structure.
The contents of the string are managed by the string buffer. As characters are appended, the string buffer will grow as needed.
Note: Never set the ch,
offset, and length fields directly.
These fields are managed by the string buffer. In order to reset
the buffer, call clear().
| 字段摘要 | |
|---|---|
static int |
DEFAULT_SIZE
Default buffer size (32). |
| 从类 org.apache.jasper.xmlparser.XMLString 继承的字段 |
|---|
ch, length, offset |
| 构造方法摘要 | |
|---|---|
XMLStringBuffer()
|
|
XMLStringBuffer(char c)
Constructs a string buffer from a char. |
|
XMLStringBuffer(char[] ch,
int offset,
int length)
Constructs a string buffer from the specified character array. |
|
XMLStringBuffer(int size)
|
|
XMLStringBuffer(String s)
Constructs a string buffer from a String. |
|
XMLStringBuffer(XMLString s)
Constructs a string buffer from the specified XMLString. |
|
| 方法摘要 | |
|---|---|
void |
append(char c)
append |
void |
append(char[] ch,
int offset,
int length)
append |
void |
append(String s)
append |
void |
append(XMLString s)
append |
void |
clear()
Clears the string buffer. |
| 从类 org.apache.jasper.xmlparser.XMLString 继承的方法 |
|---|
equals, equals, setValues, setValues, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public static final int DEFAULT_SIZE
| 构造方法详细信息 |
|---|
public XMLStringBuffer()
public XMLStringBuffer(int size)
size - public XMLStringBuffer(char c)
public XMLStringBuffer(String s)
public XMLStringBuffer(char[] ch,
int offset,
int length)
public XMLStringBuffer(XMLString s)
| 方法详细信息 |
|---|
public void clear()
XMLString 中的 clearpublic void append(char c)
c - public void append(String s)
s -
public void append(char[] ch,
int offset,
int length)
ch - offset - length - public void append(XMLString s)
s -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||