public class DefaultXmlMetadataAnnotations extends Object implements XmlMetadataAnnotations
| Modifier and Type | Field and Description |
|---|---|
static String |
METADATA_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.
|
int |
getColumnNumber() |
String |
getElementString() |
int |
getLineNumber() |
void |
setColumnNumber(int columnNumber) |
void |
setLineNumber(int lineNumber) |
public static final String METADATA_ANNOTATIONS_KEY
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 void setLineNumber(int lineNumber)
setLineNumber in interface XmlMetadataAnnotationslineNumber - the line where the declaration of the element starts in its source xml file.public int getLineNumber()
getLineNumber in interface XmlMetadataAnnotationspublic void setColumnNumber(int columnNumber)
setColumnNumber in interface XmlMetadataAnnotationscolumnNumber - the column where the declaration of the element starts in the source xml file.public int getColumnNumber()
getColumnNumber in interface XmlMetadataAnnotationsCopyright © 2022 MuleSoft, Inc.. All rights reserved.