org.foray.mif
Class MifDocument

java.lang.Object
  extended by org.foray.mif.MifToken
      extended by org.foray.mif.MifDocument
All Implemented Interfaces:
org.axsl.mif.MifDocument

public class MifDocument
extends MifToken
implements org.axsl.mif.MifDocument

A MIF Document.


Constructor Summary
MifDocument(int width, int height)
          Constructor.
 
Method Summary
 int getHeight()
          Returns the height of pages in this document.
 int getWidth()
          Returns the width of pages in this document.
 String mifContent()
          Returns the content of this token as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MifDocument

public MifDocument(int width,
                   int height)
Constructor.

Parameters:
width - The width of pages in this document, in points (??).
height - The height of pages in this document, in points (??).
Method Detail

mifContent

public String mifContent()
Description copied from class: MifToken
Returns the content of this token as a String.

Returns:
The content of this token as a String.

getHeight

public int getHeight()
Returns the height of pages in this document.

Returns:
The height of pages in this documnet.

getWidth

public int getWidth()
Returns the width of pages in this document.

Returns:
The width of pages in this document.


Copyright © 2017. All rights reserved.