public class TransducerResource extends Resource
Modifier and Type | Field and Description |
---|---|
java.lang.String |
prefixes |
TRules |
tRules |
Constructor and Description |
---|
TransducerResource(java.lang.String name)
Initialize a new TransducerResource
|
TransducerResource(java.lang.String name,
java.lang.String path)
Initialize a new TransducerResource
|
TransducerResource(java.lang.String name,
java.lang.String path,
int lang)
Initialize a new TransducerResource
|
TransducerResource(java.lang.String name,
java.lang.String path,
java.lang.String prefixes,
int lang)
Initialize a new TransducerResource
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
_getParametersDigest() |
protected void |
alloc(java.lang.String name,
java.lang.String path,
int lang) |
protected void |
allocate()
Function you should override to perform allocation of the underlying
data.
|
void |
free()
Function you should override to perform deallocation of the underlying
data.
|
java.lang.String[] |
getAnnotationKinds()
get Annotation kind tags
|
static javax.xml.bind.JAXBContext |
getContext() |
equals, finalize, getExpandedPath, getExpandedPath, getExpandedPath, getExpandedPathIfExists, getExpandedPathIfExists, getIdentifier, getLang, getLangName, getName, hashCode, hasPath, register, register, release, release
public TRules tRules
public java.lang.String prefixes
public TransducerResource(java.lang.String name, java.lang.String path, java.lang.String prefixes, int lang)
name
- its namepath
- path to the file containing the XML representation of rulesprefixes
- list of substitutions to apply to match annotationlang
- restrict to language langpublic TransducerResource(java.lang.String name, java.lang.String path, int lang)
name
- its namepath
- path to the file containing the XML representation of ruleslang
- restrict to language langpublic TransducerResource(java.lang.String name, java.lang.String path)
name
- its namepath
- path to the file containing the XML representation of rulespublic TransducerResource(java.lang.String name)
name
- its nameprotected java.lang.String _getParametersDigest()
_getParametersDigest
in class Resource
public java.lang.String[] getAnnotationKinds()
public static javax.xml.bind.JAXBContext getContext() throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
protected void allocate() throws ResourceAllocationFailedException, ResourceNotFoundException
Resource
allocate
in class Resource
ResourceNotFoundException
ResourceAllocationFailedException
protected void alloc(java.lang.String name, java.lang.String path, int lang)
Copyright © 2013 Dassault Systèmes, All Rights Reserved.