public class JadiceXmlBuilder 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 |
---|
JadiceXmlBuilder() |
Modifier and Type | Method and Description |
---|---|
Annotations |
buildXml(List<Section> parsedIniSections,
String ixosAnnotationsIni,
int ixosPage)
Builds the xml.
|
static BufferedReader |
getBufferedReader(String iniData)
Get The BufferedReader from a iniData String.
|
Map<String,List<Section>> |
getSectionsByPage(List<Section> components)
Get the Annotations sorted by Page The Hashmap key is the PageNumber, The Hashmap value is a
ArrayList of Sections.
|
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(Annotations 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 Annotations buildXml(List<Section> parsedIniSections, String ixosAnnotationsIni, int ixosPage)
parsedIniSections
- the parsed ini sectionsixosAnnotationsIni
- IXOS annotationsixosPage
- IXOS Pagepublic Map<String,List<Section>> getSectionsByPage(List<Section> components)
components
- componentspublic static BufferedReader getBufferedReader(String iniData)
iniData
- iniDatapublic static byte[] writeDocumentToByteArray(Annotations document)
document
- documentpublic void setDocumentImageSize(Node aDocumentImageSize)
aDocumentImageSize
- documentImageSizeCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.