Methods Summary |
---|
public abstract javax.xml.stream.events.Attribute | createAttribute(java.lang.String prefix, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Create a new Attribute
|
public abstract javax.xml.stream.events.Attribute | createAttribute(java.lang.String localName, java.lang.String value)Create a new Attribute
|
public abstract javax.xml.stream.events.Attribute | createAttribute(javax.xml.namespace.QName name, java.lang.String value)Create a new Attribute
|
public abstract javax.xml.stream.events.Characters | createCData(java.lang.String content)Create a Characters event with the CData flag set to true
|
public abstract javax.xml.stream.events.Characters | createCharacters(java.lang.String content)Create a Characters event, this method does not check if the content
is all whitespace. To create a space event use #createSpace(String)
|
public abstract javax.xml.stream.events.Comment | createComment(java.lang.String text)Create a comment
|
public abstract javax.xml.stream.events.DTD | createDTD(java.lang.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
|
public abstract javax.xml.stream.events.EndDocument | createEndDocument()Creates a new instance of an EndDocument event
|
public abstract javax.xml.stream.events.EndElement | createEndElement(javax.xml.namespace.QName name, java.util.Iterator namespaces)Create a new EndElement
|
public abstract javax.xml.stream.events.EndElement | createEndElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName)Create a new EndElement
|
public abstract javax.xml.stream.events.EndElement | createEndElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName, java.util.Iterator namespaces)Create a new EndElement
|
public abstract javax.xml.stream.events.EntityReference | createEntityReference(java.lang.String name, javax.xml.stream.events.EntityDeclaration declaration)Creates a new instance of a EntityReference event
|
public abstract javax.xml.stream.events.Characters | createIgnorableSpace(java.lang.String content)Create an ignorable space
|
public abstract javax.xml.stream.events.Namespace | createNamespace(java.lang.String namespaceURI)Create a new default Namespace
|
public abstract javax.xml.stream.events.Namespace | createNamespace(java.lang.String prefix, java.lang.String namespaceUri)Create a new Namespace
|
public abstract javax.xml.stream.events.ProcessingInstruction | createProcessingInstruction(java.lang.String target, java.lang.String data)Create a processing instruction
|
public abstract javax.xml.stream.events.Characters | createSpace(java.lang.String content)Create a Characters event with the isSpace flag set to true
|
public abstract javax.xml.stream.events.StartDocument | createStartDocument()Creates a new instance of a StartDocument event
|
public abstract javax.xml.stream.events.StartDocument | createStartDocument(java.lang.String encoding, java.lang.String version, boolean standalone)Creates a new instance of a StartDocument event
|
public abstract javax.xml.stream.events.StartDocument | createStartDocument(java.lang.String encoding, java.lang.String version)Creates a new instance of a StartDocument event
|
public abstract javax.xml.stream.events.StartDocument | createStartDocument(java.lang.String encoding)Creates a new instance of a StartDocument event
|
public abstract javax.xml.stream.events.StartElement | createStartElement(javax.xml.namespace.QName name, java.util.Iterator attributes, java.util.Iterator namespaces)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.
|
public abstract javax.xml.stream.events.StartElement | createStartElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName)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.
|
public abstract javax.xml.stream.events.StartElement | createStartElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName, java.util.Iterator attributes, java.util.Iterator namespaces)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.
|
public abstract javax.xml.stream.events.StartElement | createStartElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName, java.util.Iterator attributes, java.util.Iterator namespaces, javax.xml.namespace.NamespaceContext context)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.
|
public static javax.xml.stream.XMLEventFactory | newInstance()Create a new instance of the factory
return (XMLEventFactory) FactoryFinder.find(
"javax.xml.stream.XMLEventFactory",
"com.sun.xml.internal.stream.events.XMLEventFactoryImpl");
|
public static javax.xml.stream.XMLEventFactory | newInstance(java.lang.String factoryId, java.lang.ClassLoader classLoader)Create a new instance of the factory
try {
//do not fallback if given classloader can't find the class, throw exception
return (XMLEventFactory) FactoryFinder.newInstance(factoryId, classLoader, false);
} catch (FactoryFinder.ConfigurationError e) {
throw new FactoryConfigurationError(e.getException(),
e.getMessage());
}
|
public abstract void | setLocation(javax.xml.stream.Location location)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.
|