edu.princeton.wordnet.pojos.dom4j.Pojo2DomAdapter Class Reference

List of all members.

Static Public Member Functions

static Document makeDocument (final Word thisWord)
static Element makeWord (final Word thisWord, final boolean expandSenses)
static Element makeSense (final Sense thisSense)
static Element makeSynset (final Synset thisSynset, final boolean expandLinks)
static Element makeSemLink (final SemLink thisLink)
static Element makeLexLink (final LexLink thisLink)
static String makeName (final String thisName)

Detailed Description

Pojo to DOM adapter

Author:
Bernard Bou

Member Function Documentation

static Document edu.princeton.wordnet.pojos.dom4j.Pojo2DomAdapter.makeDocument ( final Word  thisWord  )  [static]

Make document

Parameters:
thisWord word
Returns:
document
static Element edu.princeton.wordnet.pojos.dom4j.Pojo2DomAdapter.makeLexLink ( final LexLink  thisLink  )  [static]

Make lexical link element

Parameters:
thisLink lexical link
Returns:
element
static String edu.princeton.wordnet.pojos.dom4j.Pojo2DomAdapter.makeName ( final String  thisName  )  [static]

Tweak name so that is matches XML element tag

Parameters:
thisName name
Returns:
tweaked name
static Element edu.princeton.wordnet.pojos.dom4j.Pojo2DomAdapter.makeSemLink ( final SemLink  thisLink  )  [static]

Make semantic link element

Parameters:
thisLink semantic link
Returns:
element
static Element edu.princeton.wordnet.pojos.dom4j.Pojo2DomAdapter.makeSense ( final Sense  thisSense  )  [static]

Make sense element

Parameters:
thisSense sense
Returns:
element
static Element edu.princeton.wordnet.pojos.dom4j.Pojo2DomAdapter.makeSynset ( final Synset  thisSynset,
final boolean  expandLinks 
) [static]

Make synset element

Parameters:
thisSynset synset
expandLinks whether to expand links
Returns:
element
static Element edu.princeton.wordnet.pojos.dom4j.Pojo2DomAdapter.makeWord ( final Word  thisWord,
final boolean  expandSenses 
) [static]

Make word element

Parameters:
thisWord word
expandSenses whether to expand senses
Returns:
element

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations
Generated on Tue May 25 16:44:18 2010 for WordNetScope by  doxygen 1.6.3