org.apache.cocoon.sax.util
Class SAXEventsBuilder
java.lang.Object
org.apache.cocoon.sax.util.SAXEventsBuilder
public class SAXEventsBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uri
protected final String uri
localName
protected final String localName
qName
protected final String qName
contentHandler
protected final ContentHandler contentHandler
newDocument
public static SAXEventsBuilder newDocument(ContentHandler contentHandler)
throws SAXException
- Throws:
SAXException
wrap
public static SAXEventsBuilder wrap(ContentHandler contentHandler)
attribute
public static <T> SAXEventsBuilder.Attribute attribute(String name,
T value)
attribute
public static <T> SAXEventsBuilder.Attribute attribute(String uri,
String localName,
String qName,
String type,
T value)
start
public SAXEventsBuilder start(String localName,
SAXEventsBuilder.Attribute... attributes)
throws SAXException
- Throws:
SAXException
start
public SAXEventsBuilder start(String uri,
String localName,
String qName,
SAXEventsBuilder.Attribute... attributes)
throws SAXException
- Throws:
SAXException
body
public <T> SAXEventsBuilder body(T elementBody)
throws SAXException
- Throws:
SAXException
end
public SAXEventsBuilder end()
throws SAXException
- Throws:
SAXException
endDocument
public void endDocument()
throws SAXException
- Throws:
SAXException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.