org.apache.cocoon.components.language.markup
Class NamedLogicsheet

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.language.markup.Logicsheet
          extended by org.apache.cocoon.components.language.markup.NamedLogicsheet
All Implemented Interfaces:
LogEnabled

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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Ricardo Rocha, Ovidiu Predescu

Field Summary
protected  String uri
          The namespace uri
 
Fields inherited from class org.apache.cocoon.components.language.markup.Logicsheet
namespaceURIs
 
Constructor Summary
NamedLogicsheet(String systemId, ServiceManager manager, SourceResolver resolver, LogicsheetFilter filter)
           
 
Method Summary
 String getPrefix()
          Return the logicsheet's namespace prefix
 String getURI()
          Return the logicsheet's namespace prefix
 void setPrefix(String prefix)
          Set the logichseet's namespace prefix
 void setURI(String uri)
          Set the logichseet's uri
 
Methods inherited from class org.apache.cocoon.components.language.markup.Logicsheet
equals, fillNamespaceURIs, getNamespaceURIs, getSystemId, getTransformerHandler, hashCode
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uri

protected String uri
The namespace uri

Constructor Detail

NamedLogicsheet

public NamedLogicsheet(String systemId,
                       ServiceManager manager,
                       SourceResolver resolver,
                       LogicsheetFilter filter)
                throws IOException,
                       ProcessingException,
                       SourceException,
                       SAXException
Throws:
IOException
ProcessingException
SourceException
SAXException
Method Detail

setPrefix

public void setPrefix(String prefix)
Set the logichseet's namespace prefix

Parameters:
prefix - The namespace prefix

getPrefix

public String getPrefix()
Return the logicsheet's namespace prefix

Returns:
The logicsheet's namespace prefix

setURI

public void setURI(String uri)
Set the logichseet's uri

Parameters:
uri - The logicsheet's uri

getURI

public String getURI()
Return the logicsheet's namespace prefix

Returns:
The logicsheet's namespace prefix


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.