@Test public void testCreateStartElement_Prefix_NamespaceURI_LocalName() throws XMLStreamException { StartElement event = factory.createStartElement("foo", "http: verify(event, XMLStreamConstants.START_ELEMENT, "<foo:bar>"); }
@SuppressWarnings({"rawtypes", "unchecked"}) StartElement createStartElement(QName name, Iterator attributes, Iterator namespaces, NamespaceContext context) { return new SimpleXMLEventAllocator.StartElementEvent(location, name, attributes, namespaces, context); }
SimpleXMLEventFactory extends XMLEventFactory { @SuppressWarnings({"rawtypes", "unchecked"}) StartElement createStartElement(QName name, Iterator attributes, Iterator namespaces, NamespaceContext context) { return new SimpleXMLEventAllocator.StartElementEvent(location, name, attributes, namespaces, context); } }
SimpleXMLEventFactory extends XMLEventFactory { @SuppressWarnings({"rawtypes", "unchecked"}) StartElement createStartElement(QName name, Iterator attributes, Iterator namespaces, NamespaceContext context) { return new SimpleXMLEventAllocator.StartElementEvent(location, name, attributes, namespaces, context); } SimpleXMLEventFactory();  SimpleXMLEventFactory(Location location); }
SimpleXMLEventFactory extends XMLEventFactory { @SuppressWarnings({"rawtypes", "unchecked"}) StartElement createStartElement(QName name, Iterator attributes, Iterator namespaces, NamespaceContext context) { return new SimpleXMLEventAllocator.StartElementEvent(location, name, attributes, namespaces, context); } SimpleXMLEventFactory();  SimpleXMLEventFactory(Location location); @Override void setLocation(Location location); @Override Attribute createAttribute(String prefix, String namespaceURI, String localName, String value); @Override Attribute createAttribute(String localName, String value); @Override Attribute createAttribute(QName name, String value); @Override Namespace createNamespace(String namespaceURI); @Override Namespace createNamespace(String prefix, String namespaceURI); @Override @SuppressWarnings({"rawtypes"}) StartElement createStartElement(QName name, Iterator attributes, Iterator namespaces); @Override StartElement createStartElement(String prefix, String namespaceUri, String localName); @Override @SuppressWarnings({"rawtypes"}) StartElement createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces); @Override @SuppressWarnings({"rawtypes"}) StartElement createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces, NamespaceContext context); @Override @SuppressWarnings({"rawtypes", "unchecked"}) EndElement createEndElement(QName name, Iterator namespaces); @Override EndElement createEndElement(String prefix, String namespaceUri, String localName); @Override @SuppressWarnings({"rawtypes"}) EndElement createEndElement(String prefix, String namespaceUri, String localName, Iterator namespaces); @Override Characters createCharacters(String content); @Override Characters createCData(String content); @Override Characters createSpace(String content); @Override Characters createIgnorableSpace(String content); @Override StartDocument createStartDocument(); @Override StartDocument createStartDocument(String encoding, String version, boolean standalone); @Override StartDocument createStartDocument(String encoding, String version); @Override StartDocument createStartDocument(String encoding); @Override EndDocument createEndDocument(); @Override EntityReference createEntityReference(String name, EntityDeclaration declaration); @Override Comment createComment(String text); @Override ProcessingInstruction createProcessingInstruction(String target, String data); @Override DTD createDTD(String dtd); }
SimpleXMLEventFactory extends XMLEventFactory { @SuppressWarnings({"rawtypes", "unchecked"}) StartElement createStartElement(QName name, Iterator attributes, Iterator namespaces, NamespaceContext context) { return new SimpleXMLEventAllocator.StartElementEvent(location, name, attributes, namespaces, context); } SimpleXMLEventFactory();  SimpleXMLEventFactory(Location location); @Override void setLocation(Location location); @Override Attribute createAttribute(String prefix, String namespaceURI, String localName, String value); @Override Attribute createAttribute(String localName, String value); @Override Attribute createAttribute(QName name, String value); @Override Namespace createNamespace(String namespaceURI); @Override Namespace createNamespace(String prefix, String namespaceURI); @Override @SuppressWarnings({"rawtypes"}) StartElement createStartElement(QName name, Iterator attributes, Iterator namespaces); @Override StartElement createStartElement(String prefix, String namespaceUri, String localName); @Override @SuppressWarnings({"rawtypes"}) StartElement createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces); @Override @SuppressWarnings({"rawtypes"}) StartElement createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces, NamespaceContext context); @Override @SuppressWarnings({"rawtypes", "unchecked"}) EndElement createEndElement(QName name, Iterator namespaces); @Override EndElement createEndElement(String prefix, String namespaceUri, String localName); @Override @SuppressWarnings({"rawtypes"}) EndElement createEndElement(String prefix, String namespaceUri, String localName, Iterator namespaces); @Override Characters createCharacters(String content); @Override Characters createCData(String content); @Override Characters createSpace(String content); @Override Characters createIgnorableSpace(String content); @Override StartDocument createStartDocument(); @Override StartDocument createStartDocument(String encoding, String version, boolean standalone); @Override StartDocument createStartDocument(String encoding, String version); @Override StartDocument createStartDocument(String encoding); @Override EndDocument createEndDocument(); @Override EntityReference createEntityReference(String name, EntityDeclaration declaration); @Override Comment createComment(String text); @Override ProcessingInstruction createProcessingInstruction(String target, String data); @Override DTD createDTD(String dtd);  }