| java.lang.Object org.apache.cocoon.xml.AbstractSAXFragment org.apache.cocoon.xml.SaxBuffer org.apache.cocoon.xml.ParamSaxBuffer
ParamSaxBuffer | public class ParamSaxBuffer extends SaxBuffer (Code) | | Modification of the SAX buffer with parameterization capabilities.
Any {name} expression inside of the character events can be
replaced by the content of another SaxBuffer if it is present in the map
passed to the
ParamSaxBuffer.toSAX(ContentHandler,Map) method.
author: Vadim Gritsenko version: CVS $Id: ParamSaxBuffer.java 531552 2007-04-23 18:21:01Z jjohnston $ |
Inner Class :final static class Parameter implements SaxBit | |
Method Summary | |
public void | characters(char ch, int start, int length) Parses text and extracts {name} parameters for later
substitution. | public void | comment(char ch, int start, int length) | public void | endDTD() | public void | endDocument() | public void | endElement(String namespaceURI, String localName, String qName) | public void | ignorableWhitespace(char ch, int start, int length) | public void | processingInstruction(String target, String data) | public void | startDTD(String name, String publicId, String systemId) | public void | startDocument() | public void | startElement(String namespaceURI, String localName, String qName, Attributes atts) | public void | toSAX(ContentHandler contentHandler, Map parameters) | public String | toString(Map parameters) |
ParamSaxBuffer | public ParamSaxBuffer()(Code) | | Creates empty SaxBuffer
|
ParamSaxBuffer | public ParamSaxBuffer(SaxBuffer saxBuffer)(Code) | | Creates copy of another SaxBuffer
|
characters | public void characters(char ch, int start, int length) throws SAXException(Code) | | Parses text and extracts {name} parameters for later
substitution.
|
ignorableWhitespace | public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code) | | |
Methods inherited from org.apache.cocoon.xml.SaxBuffer | final protected void addBit(SaxBit bit)(Code)(Java Doc) final protected Iterator bits()(Code)(Java Doc) public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void comment(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void dump(Writer writer) throws IOException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String namespaceURI, String localName, String qName) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public List getBits()(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public boolean isEmpty()(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public void recycle()(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void toSAX(ContentHandler contentHandler) throws SAXException(Code)(Java Doc) public String toString()(Code)(Java Doc) public void xmlizable(XMLizable xml)(Code)(Java Doc)
|
|
|