public class XmlBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ANNOTATION_LINE_SEPARATOR
The string the "
|
static String |
DOUBLEBYTE_ENCODING
Constant for double byte encoding.
|
protected static org.slf4j.Logger |
LOGGER
Logger.
|
static String |
XML_ENCODING
The encoding of the resulting Xml.
|
Constructor and Description |
---|
XmlBuilder() |
Modifier and Type | Method and Description |
---|---|
com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.Document |
buildXml(List<Section> parsedIniSections,
String ixosAnnotationsIni,
int ixosPage)
Builds the xml.
|
static BufferedReader |
getBufferedReader(String iniData)
Get The BufferedReader from a iniData String.
|
List<Section> |
parseIni(String iniContent)
Parses the annotations defined by the specified ini-string and returns a list of parsed
sections.
|
void |
setDocumentImageSize(Node aDocumentImageSize) |
static byte[] |
writeDocumentToByteArray(com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.Document document)
Write the given xml Snowbound Document to byte Array .
|
public static final String DOUBLEBYTE_ENCODING
public static final String XML_ENCODING
public static final String ANNOTATION_LINE_SEPARATOR
protected static final org.slf4j.Logger LOGGER
public List<Section> parseIni(String iniContent)
iniContent
- content of the ini-file as stringpublic com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.Document buildXml(List<Section> parsedIniSections, String ixosAnnotationsIni, int ixosPage)
parsedIniSections
- the parsed ini sectionsixosAnnotationsIni
- IXOS annotationsixosPage
- IXOS Pagepublic static BufferedReader getBufferedReader(String iniData)
iniData
- iniDatapublic static byte[] writeDocumentToByteArray(com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.Document document)
document
- documentpublic void setDocumentImageSize(Node aDocumentImageSize)
aDocumentImageSize
- documentImageSizeCopyright © 2021 Hyland Software Germany GmbH. All rights reserved.