org.qedeq.kernel.bo.common
Interface Element2Utf8

All Known Implementing Classes:
Element2Utf8Impl

public interface Element2Utf8

Transfer a QEDEQ formula or term into UTF-8 text.

Author:
Michael Meyling

Method Summary
 java.lang.String getUtf8(Element element)
          Get UTF-8 element presentation.
 java.lang.String[] getUtf8(Element element, int maxCols)
          Get an UTF-8 element presentation that doesn't exceed the given maximum column length.
 

Method Detail

getUtf8

java.lang.String getUtf8(Element element)
Get UTF-8 element presentation.

Parameters:
element - Print this element.
Returns:
UTF-8 form of element.

getUtf8

java.lang.String[] getUtf8(Element element,
                           int maxCols)
Get an UTF-8 element presentation that doesn't exceed the given maximum column length. If the presentation doesn't fit into one row it is split and several rows are returned.

Parameters:
element - Print this element.
maxCols - Maximum column number. If equal or below zero a maximum is neglected.
Returns:
UTF-8 form of element (might be one or several rows).


Copyright © 2014. All Rights Reserved.