public class XmlNode extends NodeImpl<XmlNode,XmlNodeType>
Constructor and Description |
---|
XmlNode(String nodeName)
构造方法
|
XmlNode(String nodeName,
XmlNodeType nodeType)
构造方法
|
XmlNode(XmlNodeType nodeType)
构造方法
|
XmlNode(XmlNodeType nodeType,
String nodeName)
构造方法
|
Modifier and Type | Method and Description |
---|---|
XmlNode |
addContent(String content)
添加内容节点
|
protected String |
decode(String string) |
protected String |
encode(String string) |
String |
getPureText()
返回纯文本内容
|
boolean |
isCaseSensitive()
是否大小写敏感
|
addAll, addNode, foreach, getAttribute, getAttribute, getAttributeList, getAttributes, getBody, getCaseSensitiveName, getContent, getFooter, getHeader, getNodeName, getNodeType, getParent, getRoot, getSingleAttribute, getSubNode, getSubNodeRecursively, getSubNodes, getSubNodes, getSubNodesByPath, getSubNodesRecursively, isSingleNode, removeAttribute, removeNode, removeNode, removeSubNotes, setAttribute, setAttribute, setContent, setNodeName, setParent, setSingleAttribute, toString, toStringBuffer, write, write
public XmlNode(XmlNodeType nodeType)
nodeType
- public XmlNode(String nodeName)
nodeName
- public XmlNode(XmlNodeType nodeType, String nodeName)
nodeType
- nodeName
- public XmlNode(String nodeName, XmlNodeType nodeType)
nodeName
- nodeType
- protected String encode(String string)
encode
in class NodeImpl<XmlNode,XmlNodeType>
protected String decode(String string)
decode
in class NodeImpl<XmlNode,XmlNodeType>
public boolean isCaseSensitive()
Node
Copyright © 2006–2018 TinyGroup. All rights reserved.