public class IXOSXMLBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ANNOTATION_LINE_SEPARATOR
The string the "
|
protected static org.slf4j.Logger |
LOGGER
Logger.
|
static String |
XML_ENCODING
The encoding of the resulting Xml.
|
Constructor and Description |
---|
IXOSXMLBuilder(String in)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.Document |
buildXml(int ixosPage)
Builds the xml.
|
int |
getCounter() |
boolean |
hasContent() |
void |
setDocumentImageSize(Node aDocumentImageSize) |
com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.DocPages |
updatePages(com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.DocPages docPages,
int ixosPage)
Update pages with IXOS annotations.
|
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 XML_ENCODING
public static final String ANNOTATION_LINE_SEPARATOR
protected static final org.slf4j.Logger LOGGER
public IXOSXMLBuilder(String in)
in
- Annotation textpublic com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.DocPages updatePages(com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.DocPages docPages, int ixosPage) throws IOException
docPages
- Document pagesixosPage
- IXOS pageIOException
- Exceptionpublic boolean hasContent()
public com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.Document buildXml(int ixosPage)
ixosPage
- the number of the ixos pagepublic static byte[] writeDocumentToByteArray(com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.Document document)
document
- documentpublic void setDocumentImageSize(Node aDocumentImageSize)
aDocumentImageSize
- documentImageSizepublic int getCounter()
Copyright © 2021 Hyland Software Germany GmbH. All rights reserved.