| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Attribute | createAttribute(String localName, String value)
Implements abstract javax. Create a new Attribute |
| public Attribute | createAttribute(QName name, String value)
Implements abstract javax. Create a new Attribute |
| public Attribute | createAttribute(String prefix, String namespaceURI, String localName, String value)
Implements abstract javax. Create a new Attribute |
| public Characters | createCData(String content)
Implements abstract javax. Create a Characters event with the CData flag set to true |
| public Characters | createCharacters(String content)
Implements abstract javax. Create a Characters event, this method does not check if the content is all whitespace. |
| public Comment | createComment(String text)
Implements abstract javax. Create a comment. |
| public DTD | createDTD(String dtd)
Implements abstract javax. Create a document type definition event This string contains the entire document type declaration that matches the doctypedecl in the XML 1.0 specification |
| public EndDocument | createEndDocument()
Implements abstract javax. Creates a new instance of an EndDocument event |
| public EndElement | createEndElement(QName name, Iterator<? extends Namespace> namespaces)
Implements abstract javax. Create a new EndElement |
| public EndElement | createEndElement(String prefix, String namespaceUri, String localName)
Implements abstract javax. Create a new EndElement |
| public EndElement | createEndElement(String prefix, String namespaceUri, String localName, Iterator<? extends Namespace> namespaces)
Implements abstract javax. Create a new EndElement |
| public EntityReference | createEntityReference(String name, EntityDeclaration entityDeclaration)
Implements abstract javax. Creates a new instance of a EntityReference event |
| public Characters | createIgnorableSpace(String content)
Implements abstract javax. Create an ignorable space |
| public Namespace | createNamespace(String namespaceURI)
Implements abstract javax. Create a new default Namespace |
| public Namespace | createNamespace(String prefix, String namespaceURI)
Implements abstract javax. Create a new Namespace |
| public ProcessingInstruction | createProcessingInstruction(String target, String data)
Implements abstract javax. Create a processing instruction |
| public Characters | createSpace(String content)
Implements abstract javax. Create a Characters event with the isSpace flag set to true |
| public StartDocument | createStartDocument()
Implements abstract javax. Creates a new instance of a StartDocument event |
| public StartDocument | createStartDocument(String encoding)
Implements abstract javax. Creates a new instance of a StartDocument event |
| public StartDocument | createStartDocument(String encoding, String version)
Implements abstract javax. Creates a new instance of a StartDocument event |
| public StartDocument | createStartDocument(String encoding, String version, boolean standalone)
Implements abstract javax. Creates a new instance of a StartDocument event |
| public StartElement | createStartElement(QName name, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces)
Implements abstract javax. Create a new StartElement. |
| public StartElement | createStartElement(String prefix, String namespaceUri, String localName)
Implements abstract javax. Create a new StartElement. |
| public StartElement | createStartElement(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces)
Implements abstract javax. Create a new StartElement. |
| public StartElement | createStartElement(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces, NamespaceContext context)
Implements abstract javax. Create a new StartElement. |
| public void | setLocation(Location location)
Implements abstract javax. This method allows setting of the Location on each event that is created by this factory. |
| location | back to summary |
|---|---|
| pack-priv Location location | |
| XMLEventFactoryImpl | back to summary |
|---|---|
| public XMLEventFactoryImpl() Creates a new instance of XMLEventFactory | |
| createAttribute | back to summary |
|---|---|
| public Attribute createAttribute(String localName, String value) Implements abstract javax. Doc from javax. Create a new Attribute
| |
| createAttribute | back to summary |
|---|---|
| public Attribute createAttribute(QName name, String value) Implements abstract javax. Doc from javax. Create a new Attribute
| |
| createAttribute | back to summary |
|---|---|
| public Attribute createAttribute(String prefix, String namespaceURI, String localName, String value) Implements abstract javax. Doc from javax. Create a new Attribute
| |
| createCData | back to summary |
|---|---|
| public Characters createCData(String content) Implements abstract javax. Doc from javax. Create a Characters event with the CData flag set to true
| |
| createCharacters | back to summary |
|---|---|
| public Characters createCharacters(String content) Implements abstract javax. Doc from javax. Create a Characters event, this method does not check if the content is all whitespace. To create a space event use #createSpace(String)
| |
| createComment | back to summary |
|---|---|
| public Comment createComment(String text) Implements abstract javax. Doc from javax. Create a comment.
| |
| createDTD | back to summary |
|---|---|
| public DTD createDTD(String dtd) Implements abstract javax. Doc from javax. Create a document type definition event This string contains the entire document type declaration that matches the doctypedecl in the XML 1.0 specification
| |
| createEndDocument | back to summary |
|---|---|
| public EndDocument createEndDocument() Implements abstract javax. Doc from javax. Creates a new instance of an EndDocument event
| |
| createEndElement | back to summary |
|---|---|
| public EndElement createEndElement(QName name, Iterator<? extends Namespace> namespaces) Implements abstract javax. Doc from javax. Create a new EndElement
| |
| createEndElement | back to summary |
|---|---|
| public EndElement createEndElement(String prefix, String namespaceUri, String localName) Implements abstract javax. Doc from javax. Create a new EndElement
| |
| createEndElement | back to summary |
|---|---|
| public EndElement createEndElement(String prefix, String namespaceUri, String localName, Iterator<? extends Namespace> namespaces) Implements abstract javax. Doc from javax. Create a new EndElement
| |
| createEntityReference | back to summary |
|---|---|
| public EntityReference createEntityReference(String name, EntityDeclaration entityDeclaration) Implements abstract javax. Doc from javax. Creates a new instance of a EntityReference event
| |
| createIgnorableSpace | back to summary |
|---|---|
| public Characters createIgnorableSpace(String content) Implements abstract javax. Doc from javax. Create an ignorable space
| |
| createNamespace | back to summary |
|---|---|
| public Namespace createNamespace(String namespaceURI) Implements abstract javax. Doc from javax. Create a new default Namespace
| |
| createNamespace | back to summary |
|---|---|
| public Namespace createNamespace(String prefix, String namespaceURI) Implements abstract javax. Doc from javax. Create a new Namespace
| |
| createProcessingInstruction | back to summary |
|---|---|
| public ProcessingInstruction createProcessingInstruction(String target, String data) Implements abstract javax. Doc from javax. Create a processing instruction
| |
| createSpace | back to summary |
|---|---|
| public Characters createSpace(String content) Implements abstract javax. Doc from javax. Create a Characters event with the isSpace flag set to true
| |
| createStartDocument | back to summary |
|---|---|
| public StartDocument createStartDocument() Implements abstract javax. Doc from javax. Creates a new instance of a StartDocument event
| |
| createStartDocument | back to summary |
|---|---|
| public StartDocument createStartDocument(String encoding) Implements abstract javax. Doc from javax. Creates a new instance of a StartDocument event
| |
| createStartDocument | back to summary |
|---|---|
| public StartDocument createStartDocument(String encoding, String version) Implements abstract javax. Doc from javax. Creates a new instance of a StartDocument event
| |
| createStartDocument | back to summary |
|---|---|
| public StartDocument createStartDocument(String encoding, String version, boolean standalone) Implements abstract javax. Doc from javax. Creates a new instance of a StartDocument event
| |
| createStartElement | back to summary |
|---|---|
| public StartElement createStartElement(QName name, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces) Implements abstract javax. Doc from javax. Create a new StartElement. Namespaces can be added to this StartElement by passing in an Iterator that walks over a set of Namespace interfaces. Attributes can be added to this StartElement by passing an iterator that walks over a set of Attribute interfaces.
| |
| createStartElement | back to summary |
|---|---|
| public StartElement createStartElement(String prefix, String namespaceUri, String localName) Implements abstract javax. Doc from javax. Create a new StartElement. This defaults the NamespaceContext to an empty NamespaceContext. Querying this event for its namespaces or attributes will result in an empty iterator being returned.
| |
| createStartElement | back to summary |
|---|---|
| public StartElement createStartElement(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces) Implements abstract javax. Doc from javax. Create a new StartElement. Namespaces can be added to this StartElement by passing in an Iterator that walks over a set of Namespace interfaces. Attributes can be added to this StartElement by passing an iterator that walks over a set of Attribute interfaces.
| |
| createStartElement | back to summary |
|---|---|
| public StartElement createStartElement(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces, NamespaceContext context) Implements abstract javax. Doc from javax. Create a new StartElement. Namespaces can be added to this StartElement by passing in an Iterator that walks over a set of Namespace interfaces. Attributes can be added to this StartElement by passing an iterator that walks over a set of Attribute interfaces.
| |
| setLocation | back to summary |
|---|---|
| public void setLocation(Location location) Implements abstract javax. Doc from javax. This method allows setting of the Location on each event that is created by this factory. The values are copied by value into the events created by this factory. To reset the location information set the location to null.
| |