javax.xml.stream
public abstract class XMLEventFactory extends Object
Constructor Summary | |
---|---|
protected | XMLEventFactory() |
Method Summary | |
---|---|
abstract Attribute | createAttribute(String prefix, String namespaceURI, String localName, String value)
Create an attribute event. |
abstract Attribute | createAttribute(String localName, String value)
Create an attribute event. |
abstract Attribute | createAttribute(QName name, String value)
Create an attribute event. |
abstract Characters | createCData(String content)
Create a text event of type CDATA section. |
abstract Characters | createCharacters(String content)
Create a text event. |
abstract Comment | createComment(String text)
Create a comment event. |
abstract DTD | createDTD(String dtd)
Create a DOCTYPE declaration event. |
abstract EndDocument | createEndDocument()
Create an end-document event. |
abstract EndElement | createEndElement(QName name, Iterator namespaces)
Create an end-element event. |
abstract EndElement | createEndElement(String prefix, String namespaceUri, String localName)
Create an end-element event. |
abstract EndElement | createEndElement(String prefix, String namespaceUri, String localName, Iterator namespaces)
Create an end-element event. |
abstract EntityReference | createEntityReference(String name, EntityDeclaration declaration)
Create an entity reference event. |
abstract Characters | createIgnorableSpace(String content)
Create a text event of type ignorable whitespace. |
abstract Namespace | createNamespace(String namespaceURI)
Create a namespace declaration event. |
abstract Namespace | createNamespace(String prefix, String namespaceUri)
Create a namespace declaration event. |
abstract ProcessingInstruction | createProcessingInstruction(String target, String data)
Create a processing instruction event. |
abstract Characters | createSpace(String content)
Create a text event of type whitespace. |
abstract StartDocument | createStartDocument()
Create a start-document event. |
abstract StartDocument | createStartDocument(String encoding, String version, boolean standalone)
Create a start-document event. |
abstract StartDocument | createStartDocument(String encoding, String version)
Create a start-document event. |
abstract StartDocument | createStartDocument(String encoding)
Create a start-document event. |
abstract StartElement | createStartElement(QName name, Iterator attributes, Iterator namespaces)
Create a start-element event. |
abstract StartElement | createStartElement(String prefix, String namespaceUri, String localName)
Create a start-element event. |
abstract StartElement | createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces)
Create a start-element event. |
abstract StartElement | createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces, NamespaceContext context)
Create a start-element event. |
static XMLEventFactory | newInstance()
Create a new factory instance. |
abstract void | setLocation(Location location)
Sets the location for each event created by this factory. |
See Also: newInstance