maiolum.xml
Class XMLFormatTemplate

java.lang.Object
  extended bymaiolum.xml.XMLFormatTemplate

public class XMLFormatTemplate
extends java.lang.Object

Converts mnemotechnic identifiers (or shortcuts) of XSLT templates to their URIs stored in Preferences object.

For example "chapter", as XSLT template identifier is mapped associated with "ChapterXSLTemplate" key in the Properties, and the according URL representing file containing this template is returned.


Field Summary
protected  java.lang.String URI
           
 
Constructor Summary
XMLFormatTemplate(java.lang.String type)
          Returns URI associated with given String identifier, using System properties.
 
Method Summary
static XMLFormatTemplate getChapter()
          Creates new XMLFormatTemplate containing data about location of Chapter XSLT transformation template.
 java.lang.String getURI()
           
static XMLFormatTemplate getVerse()
          Creates new XMLFormatTemplate containing data about location of Verse XSLT transformation template.
 void setURI(java.lang.String URI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI

protected java.lang.String URI
Constructor Detail

XMLFormatTemplate

public XMLFormatTemplate(java.lang.String type)
                  throws BackendException
Returns URI associated with given String identifier, using System properties.

Method Detail

getURI

public java.lang.String getURI()

setURI

public void setURI(java.lang.String URI)

getChapter

public static XMLFormatTemplate getChapter()
                                    throws BackendException
Creates new XMLFormatTemplate containing data about location of Chapter XSLT transformation template.

Throws:
BackendException

getVerse

public static XMLFormatTemplate getVerse()
                                  throws BackendException
Creates new XMLFormatTemplate containing data about location of Verse XSLT transformation template.

Throws:
BackendException