public class LemmatizerResource extends Resource implements java.lang.Iterable<LemmaInformation[]>
Constructor and Description |
---|
LemmatizerResource(java.lang.String name,
java.lang.String path,
int lang) |
Modifier and Type | Method and Description |
---|---|
protected void |
allocate()
Function you should override to perform allocation of the underlying
data.
|
void |
dump(java.lang.String xml)
Dump the resource to XML
|
protected void |
free()
Function you should override to perform deallocation of the underlying
data.
|
static javax.xml.bind.JAXBContext |
getContext() |
java.util.Iterator<LemmaInformation[]> |
iterator()
Get an iterator over the resource
|
_getParametersDigest, equals, finalize, getExpandedPath, getExpandedPath, getExpandedPath, getExpandedPathIfExists, getExpandedPathIfExists, getIdentifier, getLang, getLangName, getName, hashCode, hasPath, register, register, release, release
public LemmatizerResource(java.lang.String name, java.lang.String path, int lang)
public static javax.xml.bind.JAXBContext getContext() throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public java.util.Iterator<LemmaInformation[]> iterator()
iterator
in interface java.lang.Iterable<LemmaInformation[]>
public void dump(java.lang.String xml) throws javax.xml.bind.JAXBException, java.io.FileNotFoundException
xml
- The path to the destination XML filejavax.xml.bind.JAXBException
java.io.FileNotFoundException
protected void allocate() throws ResourceNotFoundException
allocate
in class Resource
ResourceNotFoundException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.