| 限定符和类型 | 方法和说明 |
|---|---|
static Attribute |
ServiceSchemaReader.elementToAttribute(org.dom4j.Element attributeElm) |
static List<Attribute> |
ServiceSchemaReader.readXmlForList(org.dom4j.Element rootEle) |
static List<Attribute> |
ServiceSchemaReader.readXmlForList(File file) |
static List<Attribute> |
ServiceSchemaReader.readXmlForList(String xmlStirng) |
static Map<String,Attribute> |
ServiceSchemaReader.readXmlForMap(org.dom4j.Element rootEle) |
static Map<String,Attribute> |
ServiceSchemaReader.readXmlForMap(File file) |
static Map<String,Attribute> |
ServiceSchemaReader.readXmlForMap(String xmlStirng) |
static String |
ServiceSchemaWriter.writeFullchemaXmlString(List<Attribute> attributes) |
static String |
ServiceSchemaWriter.writeSchemaXmlString(List<Attribute> attributes) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
Attribute.appendAttributeValues(Attribute attribute,
org.dom4j.Element parent) |
protected void |
Attribute.appendOptionsElement(org.dom4j.Element parent,
List<Option> options,
String attributeId) |
protected void |
Attribute.appendRulesElement(org.dom4j.Element parent,
List<AttributeRule> rules,
String attributeId) |
protected void |
Attribute.checkAttribute() |
ComplexAttribute |
MultiComplexAttribute.cloneAttribute() |
org.dom4j.Element |
SingleAttribute.toElement() |
org.dom4j.Element |
MultiAttribute.toElement() |
org.dom4j.Element |
MultiComplexAttribute.toElement() |
org.dom4j.Element |
ComplexAttribute.toElement() |
abstract org.dom4j.Element |
Attribute.toElement()
转换成document的元素
|
org.dom4j.Element |
SingleAttribute.toValueElement() |
org.dom4j.Element |
MultiAttribute.toValueElement() |
org.dom4j.Element |
MultiComplexAttribute.toValueElement() |
org.dom4j.Element |
ComplexAttribute.toValueElement() |
abstract org.dom4j.Element |
Attribute.toValueElement()
转换成document的元素
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.dom4j.Element |
Option.toElement(String attributeId) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.dom4j.Element |
AttributeRule.toElement(String attributeId) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
ServiceSchemaUtil.schemaXmlString(ServiceSchema serviceSchema,
Map<String,Attribute> xmlMap) |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.dom4j.Element |
XmlUtils.createRootElement(String tagName)
Creates a root element as well as a new document with specific tag name.
|
static org.dom4j.Document |
XmlUtils.getDocument(File file)
Parses the content of the given XML file as an XML document.
|
static org.dom4j.Document |
XmlUtils.getDocument(InputSource xml)
Parses the content of the given XML file as an XML document.
|
static org.dom4j.Document |
XmlUtils.getDocument(InputStream xml)
Parses the content of the given XML file as an XML document.
|
static org.dom4j.Element |
XmlUtils.getRootElementFromFile(File xml)
Gets the root element from given XML file.
|
static org.dom4j.Element |
XmlUtils.getRootElementFromStream(InputStream xml)
Gets the root element from input stream.
|
static org.dom4j.Element |
XmlUtils.getRootElementFromString(String payload)
Gets the root element from the given XML payload.
|
static String |
XmlUtils.nodeToString(org.dom4j.Node node)
Converts the Node/Element instance to XML payload.
|
static String |
XmlUtils.xmlToString(File file)
Converts the an XML file to XML payload.
|
static String |
XmlUtils.xmlToString(InputStream in)
Converts the an XML file input stream to XML payload.
|
Copyright © 2025. All rights reserved.