public class CLanguageTranslator
extends java.lang.Object
implements org.opendof.tools.repository.interfaces.core.XMLTranslator
| Constructor and Description |
|---|
CLanguageTranslator(java.lang.String catalogPath)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
short |
getCodeBlockTypeReference(short xmlSuppliedTypeReference)
Compute the type reference used in the final code block, from the xml-file supplied type reference value
|
java.util.TreeMap<java.lang.Short,EventInstance> |
getMapEventInstances()
Return mapEventInstances
|
java.util.TreeMap<java.lang.Short,ExceptionInstance> |
getMapExceptionInstances()
Return mapExceptionInstances
|
java.util.TreeMap<java.lang.Short,MethodInstance> |
getMapMethodInstances()
Return mapMethodInstances
|
java.util.TreeMap<java.lang.Short,PropertyInstance> |
getMapPropertyInstances()
Return mapPropertyInstances
|
java.util.TreeMap<java.lang.Short,TypeInstance> |
getMapTypeInstances()
Return mapTypeInstances
|
java.lang.String |
getTranslationName() |
boolean |
hasHTMLSupport() |
boolean |
hasLanguageSupport() |
boolean |
hasRawSupport() |
void |
toHTML(java.lang.String xml,
java.io.Writer writer) |
java.lang.String |
toRaw(java.lang.String xml,
java.io.Writer writer) |
public CLanguageTranslator(java.lang.String catalogPath)
catalogPath - the catalog pathpublic short getCodeBlockTypeReference(short xmlSuppliedTypeReference)
throws java.lang.Exception
xmlSuppliedTypeReference - the xml supplied type referencejava.lang.Exception - thrown if the code block could not be determinedpublic void toHTML(java.lang.String xml,
java.io.Writer writer)
throws java.lang.Exception
toHTML in interface org.opendof.tools.repository.interfaces.core.XMLTranslatorjava.lang.Exceptionpublic boolean hasLanguageSupport()
hasLanguageSupport in interface org.opendof.tools.repository.interfaces.core.XMLTranslatorpublic boolean hasRawSupport()
hasRawSupport in interface org.opendof.tools.repository.interfaces.core.XMLTranslatorpublic java.lang.String getTranslationName()
getTranslationName in interface org.opendof.tools.repository.interfaces.core.XMLTranslatorpublic boolean hasHTMLSupport()
hasHTMLSupport in interface org.opendof.tools.repository.interfaces.core.XMLTranslatorpublic java.lang.String toRaw(java.lang.String xml,
java.io.Writer writer)
throws java.lang.Exception
toRaw in interface org.opendof.tools.repository.interfaces.core.XMLTranslatorjava.lang.Exceptionpublic java.util.TreeMap<java.lang.Short,TypeInstance> getMapTypeInstances()
public java.util.TreeMap<java.lang.Short,PropertyInstance> getMapPropertyInstances()
public java.util.TreeMap<java.lang.Short,MethodInstance> getMapMethodInstances()
public java.util.TreeMap<java.lang.Short,EventInstance> getMapEventInstances()
public java.util.TreeMap<java.lang.Short,ExceptionInstance> getMapExceptionInstances()