Java javax.xml.stream XMLEventFactory fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.stream XMLEventFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.stream XMLEventFactory.

The text is from its open source code.

Method

AttributecreateAttribute(String localName, String value)
Create a new Attribute
AttributecreateAttribute(QName name, String value)
Create a new Attribute
AttributecreateAttribute(String prefix, String namespaceURI, String localName, String value)
Create a new Attribute
CharacterscreateCharacters(String content)
Create a Characters event, this method does not check if the content is all whitespace.
DTDcreateDTD(String dtd)
Create a document type definition event This string contains the entire document type declaration that matches the doctypedecl in the XML 1.0 specification
EndDocumentcreateEndDocument()
Creates a new instance of an EndDocument event
EndElementcreateEndElement(String prefix, String namespaceUri, String localName)
Create a new EndElement
EndElementcreateEndElement(QName name, Iterator namespaces)
Create a new EndElement
CharacterscreateIgnorableSpace(String content)
Create an ignorable space
NamespacecreateNamespace(String prefix, String namespaceUri)
Create a new Namespace
NamespacecreateNamespace(String namespaceURI)
Create a new default Namespace
CharacterscreateSpace(String content)
Create a Characters event with the isSpace flag set to true
StartDocumentcreateStartDocument(String encoding, String version)
Creates a new instance of a StartDocument event
StartDocumentcreateStartDocument()
Creates a new instance of a StartDocument event
StartElementcreateStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces)
Create a new StartElement.
StartElementcreateStartElement(QName name, Iterator attributes, Iterator namespaces)
Create a new StartElement.
StartElementcreateStartElement(String prefix, String namespaceUri, String localName)
Create a new StartElement.
StartElementcreateStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces, NamespaceContext context)
Create a new StartElement.
XMLEventFactorynewFactory()
Create a new instance of the factory.
XMLEventFactorynewInstance()
Creates a new instance of the factory in exactly the same manner as the #newFactory() method.
voidsetLocation(Location location)
This method allows setting of the Location on each event that is created by this factory.