org.apache.cocoon.components.language.markup
Class AbstractMarkupLanguage.LanguageDescriptor

java.lang.Object
  |
  +--org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.LanguageDescriptor
Enclosing class:
AbstractMarkupLanguage

protected class AbstractMarkupLanguage.LanguageDescriptor
extends java.lang.Object

This class holds transient information about a target programming language.


Field Summary
protected  java.lang.String logicsheet
          The progamming language core logicsheet
protected  java.lang.String name
          The progamming language name
protected  HashMap namedLogicsheets
          The list of built-in logicsheets defined for this target language
 
Constructor Summary
protected AbstractMarkupLanguage.LanguageDescriptor()
          The default constructor
 
Method Summary
protected  void addNamedLogicsheet(java.lang.String uri, java.lang.String prefix, java.lang.String namedLogicsheet)
          Add a namespace-mapped logicsheet to this language
protected  java.lang.String getLogicsheet()
          Return the programming language's core logichseet location
protected  java.lang.String getName()
          Return the programming language's name
protected  java.lang.String getNamedLogicsheetByURI(java.lang.String uri)
          Return a namespace-mapped logicsheet given its uri
protected  void setLogicsheet(java.lang.String logicsheet)
          Set the programming language's core logichseet location
protected  void setName(java.lang.String name)
          Set the programming language's name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The progamming language name

logicsheet

protected java.lang.String logicsheet
The progamming language core logicsheet

namedLogicsheets

protected HashMap namedLogicsheets
The list of built-in logicsheets defined for this target language
Constructor Detail

AbstractMarkupLanguage.LanguageDescriptor

protected AbstractMarkupLanguage.LanguageDescriptor()
The default constructor
Method Detail

setName

protected void setName(java.lang.String name)
Set the programming language's name
Parameters:
name - The programming language's name

getName

protected java.lang.String getName()
Return the programming language's name
Returns:
The programming language's name

setLogicsheet

protected void setLogicsheet(java.lang.String logicsheet)
Set the programming language's core logichseet location
Parameters:
logicsheet - The programming language's core logichseet location

getLogicsheet

protected java.lang.String getLogicsheet()
Return the programming language's core logichseet location
Returns:
The programming language's core logichseet location

addNamedLogicsheet

protected void addNamedLogicsheet(java.lang.String uri,
                                  java.lang.String prefix,
                                  java.lang.String namedLogicsheet)
Add a namespace-mapped logicsheet to this language
Parameters:
prefix - The logichseet's namespace prefix
uri - The logichseet's namespace uri
namedLogicsheet - The logichseet's location

getNamedLogicsheetByURI

protected java.lang.String getNamedLogicsheetByURI(java.lang.String uri)
Return a namespace-mapped logicsheet given its uri
Returns:
The namespace-mapped logicsheet


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.