org.apache.cocoon.components.language.markup
Class NamedLogicsheet
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.components.language.markup.Logicsheet
|
+--org.apache.cocoon.components.language.markup.NamedLogicsheet
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.Loggable
- public class NamedLogicsheet
- extends Logicsheet
An extension to Logicsheet
that is associated with a namespace.
Named logicsheets are implicitly declared (and automagically applied) when
the markup language document's root element declares the same logichseet's
namespace
- Version:
- CVS $Id: NamedLogicsheet.java,v 1.8 2002/02/22 07:00:08 cziegeler Exp $
- Author:
- Ricardo Rocha, Ovidiu Predescu
Field Summary |
protected java.lang.String |
uri
The namespace uri |
Constructor Summary |
NamedLogicsheet(java.lang.String systemId,
org.apache.avalon.framework.component.ComponentManager manager,
SourceResolver resolver)
|
Method Summary |
java.lang.String |
getPrefix()
Return the logicsheet's namespace prefix |
java.lang.String |
getURI()
Return the logicsheet's namespace prefix |
void |
setPrefix(java.lang.String prefix)
Set the logichseet's namespace prefix |
void |
setURI(java.lang.String uri)
Set the logichseet's namespace prefix |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uri
protected java.lang.String uri
- The namespace uri
NamedLogicsheet
public NamedLogicsheet(java.lang.String systemId,
org.apache.avalon.framework.component.ComponentManager manager,
SourceResolver resolver)
throws java.io.IOException,
ProcessingException,
org.xml.sax.SAXException
setPrefix
public void setPrefix(java.lang.String prefix)
- Set the logichseet's namespace prefix
- Parameters:
prefix
- The namespace prefix
getPrefix
public java.lang.String getPrefix()
- Return the logicsheet's namespace prefix
- Returns:
- The logicsheet's namespace prefix
setURI
public void setURI(java.lang.String uri)
- Set the logichseet's namespace prefix
- Parameters:
prefix
- The namespace prefix
getURI
public java.lang.String getURI()
- Return the logicsheet's namespace prefix
- Returns:
- The logicsheet's namespace prefix
Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.