public class DefaultXmlMetadataAnnotations extends Object implements XmlMetadataAnnotations
XmlMetadataAnnotations.TagBoundariesMETADATA_ANNOTATIONS_KEY| Constructor and Description |
|---|
DefaultXmlMetadataAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendElementBody(String elementBody)
Adds the body of the xml tag.
|
void |
appendElementEnd(String qName)
Builds the closing tag of the xml element.
|
void |
appendElementStart(String qName,
Map<String,String> atts)
Builds the opening tag of the xml element.
|
XmlMetadataAnnotations.TagBoundaries |
getClosingTagBoundaries() |
String |
getElementString() |
XmlMetadataAnnotations.TagBoundaries |
getOpeningTagBoundaries() |
boolean |
isSelfClosing() |
public void appendElementStart(String qName, Map<String,String> atts)
appendElementStart in interface XmlMetadataAnnotationsqName - the qualified name of the elementatts - the attributes of the element, with the qualified name as keypublic void appendElementBody(String elementBody)
appendElementBody in interface XmlMetadataAnnotationselementBody - the body content to be addedpublic void appendElementEnd(String qName)
appendElementEnd in interface XmlMetadataAnnotationsqName - the qualified name of the elementpublic String getElementString()
getElementString in interface XmlMetadataAnnotationspublic boolean isSelfClosing()
isSelfClosing in interface XmlMetadataAnnotations<element /> in the source code. In such case, the opening and closing
tag boundaries will be the same, as both tags are merged into one.public XmlMetadataAnnotations.TagBoundaries getOpeningTagBoundaries()
getOpeningTagBoundaries in interface XmlMetadataAnnotationspublic XmlMetadataAnnotations.TagBoundaries getClosingTagBoundaries()
getClosingTagBoundaries in interface XmlMetadataAnnotationsCopyright © 2022 MuleSoft, Inc.. All rights reserved.