|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.nstyle.NStyle
public class NStyle
NStyle is the top level application which takes an XSL interface spec and some data to populate it and produces the interface.
| Constructor Summary | |
|---|---|
NStyle()
Constructor with no arguments - creates its own desktop pane and does not need to be synchronized. |
|
NStyle(Clock c)
Contstructor for the case where we want a separate desktop for the NIE display but we should be synchronized with an existing clock |
|
NStyle(Clock c,
javax.swing.JDesktopPane component)
Constructor providing both a clock with which the NIE display will synchronize and a desktop pane into which the NIE display will be added as an internal frame |
|
NStyle(javax.swing.JDesktopPane component)
Constructor where we're given a desktop pane to which the NIE display should be added as an internal frame. |
|
| Method Summary | |
|---|---|
javax.swing.JDesktopPane |
getDesktop()
|
NMetaData |
getMetadata()
Returns the metadata. |
static void |
main(java.lang.String[] args)
Main method to run from the command line. |
void |
redisplay(org.jdom.Document d)
|
void |
setMetadata(NMetaData metadata)
Sets the metadata. |
void |
transform(NMetaData meta,
org.jdom.Document input,
java.lang.String xslfilename)
The transform method for simple corpora. |
void |
transform(NOMCorpus input,
java.lang.String xslfilename)
The transform method for standoff corpora. |
void |
transform(org.jdom.Document input,
java.lang.String xslfilename)
The transform method for simple corpora. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NStyle(Clock c,
javax.swing.JDesktopPane component)
public NStyle(javax.swing.JDesktopPane component)
public NStyle(Clock c)
public NStyle()
| Method Detail |
|---|
public javax.swing.JDesktopPane getDesktop()
public void transform(NOMCorpus input,
java.lang.String xslfilename)
public void redisplay(org.jdom.Document d)
public void transform(org.jdom.Document input,
java.lang.String xslfilename)
public void transform(NMetaData meta,
org.jdom.Document input,
java.lang.String xslfilename)
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic NMetaData getMetadata()
public void setMetadata(NMetaData metadata)
metadata - The metadata to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||