com.caucho.xml.stream
Class XMLEventFactoryImpl

java.lang.Object
  extended by javax.xml.stream.XMLEventFactory
      extended by com.caucho.xml.stream.XMLEventFactoryImpl

public class XMLEventFactoryImpl
extends XMLEventFactory


Constructor Summary
XMLEventFactoryImpl()
           
 
Method Summary
 Attribute createAttribute(javax.xml.namespace.QName name, java.lang.String value)
           
 Attribute createAttribute(java.lang.String localName, java.lang.String value)
           
 Attribute createAttribute(java.lang.String prefix, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
           
 Characters createCData(java.lang.String content)
           
 Characters createCharacters(java.lang.String content)
           
 Comment createComment(java.lang.String text)
           
 DTD createDTD(java.lang.String dtd)
           
 EndDocument createEndDocument()
           
 EndElement createEndElement(javax.xml.namespace.QName name, java.util.Iterator namespaces)
           
 EndElement createEndElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName)
           
 EndElement createEndElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName, java.util.Iterator namespaces)
           
 EntityReference createEntityReference(java.lang.String name, EntityDeclaration declaration)
           
 Characters createIgnorableSpace(java.lang.String content)
           
 Namespace createNamespace(java.lang.String namespaceURI)
           
 Namespace createNamespace(java.lang.String prefix, java.lang.String namespaceUri)
           
 ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
           
 Characters createSpace(java.lang.String content)
           
 StartDocument createStartDocument()
           
 StartDocument createStartDocument(java.lang.String encoding)
           
 StartDocument createStartDocument(java.lang.String encoding, java.lang.String version)
           
 StartDocument createStartDocument(java.lang.String encoding, java.lang.String version, boolean standalone)
           
 StartElement createStartElement(javax.xml.namespace.QName name, java.util.Iterator attributes, java.util.Iterator namespaces)
           
 StartElement createStartElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName)
           
 StartElement createStartElement(java.lang.String prefix, java.lang.String namespaceUri, java.lang.String localName, java.util.Iterator attributes, java.util.Iterator namespaces)
           
 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)
           
 void setLocation(Location location)
           
 
Methods inherited from class javax.xml.stream.XMLEventFactory
newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLEventFactoryImpl

public XMLEventFactoryImpl()
Method Detail

createAttribute

public Attribute createAttribute(javax.xml.namespace.QName name,
                                 java.lang.String value)
Specified by:
createAttribute in class XMLEventFactory

createAttribute

public Attribute createAttribute(java.lang.String localName,
                                 java.lang.String value)
Specified by:
createAttribute in class XMLEventFactory

createAttribute

public Attribute createAttribute(java.lang.String prefix,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 java.lang.String value)
Specified by:
createAttribute in class XMLEventFactory

createCData

public Characters createCData(java.lang.String content)
Specified by:
createCData in class XMLEventFactory

createCharacters

public Characters createCharacters(java.lang.String content)
Specified by:
createCharacters in class XMLEventFactory

createComment

public Comment createComment(java.lang.String text)
Specified by:
createComment in class XMLEventFactory

createDTD

public DTD createDTD(java.lang.String dtd)
Specified by:
createDTD in class XMLEventFactory

createEndDocument

public EndDocument createEndDocument()
Specified by:
createEndDocument in class XMLEventFactory

createEndElement

public EndElement createEndElement(javax.xml.namespace.QName name,
                                   java.util.Iterator namespaces)
Specified by:
createEndElement in class XMLEventFactory

createEndElement

public EndElement createEndElement(java.lang.String prefix,
                                   java.lang.String namespaceUri,
                                   java.lang.String localName)
Specified by:
createEndElement in class XMLEventFactory

createEndElement

public EndElement createEndElement(java.lang.String prefix,
                                   java.lang.String namespaceUri,
                                   java.lang.String localName,
                                   java.util.Iterator namespaces)
Specified by:
createEndElement in class XMLEventFactory

createEntityReference

public EntityReference createEntityReference(java.lang.String name,
                                             EntityDeclaration declaration)
Specified by:
createEntityReference in class XMLEventFactory

createIgnorableSpace

public Characters createIgnorableSpace(java.lang.String content)
Specified by:
createIgnorableSpace in class XMLEventFactory

createNamespace

public Namespace createNamespace(java.lang.String namespaceURI)
Specified by:
createNamespace in class XMLEventFactory

createNamespace

public Namespace createNamespace(java.lang.String prefix,
                                 java.lang.String namespaceUri)
Specified by:
createNamespace in class XMLEventFactory

createProcessingInstruction

public ProcessingInstruction createProcessingInstruction(java.lang.String target,
                                                         java.lang.String data)
Specified by:
createProcessingInstruction in class XMLEventFactory

createSpace

public Characters createSpace(java.lang.String content)
Specified by:
createSpace in class XMLEventFactory

createStartDocument

public StartDocument createStartDocument()
Specified by:
createStartDocument in class XMLEventFactory

createStartDocument

public StartDocument createStartDocument(java.lang.String encoding)
Specified by:
createStartDocument in class XMLEventFactory

createStartDocument

public StartDocument createStartDocument(java.lang.String encoding,
                                         java.lang.String version)
Specified by:
createStartDocument in class XMLEventFactory

createStartDocument

public StartDocument createStartDocument(java.lang.String encoding,
                                         java.lang.String version,
                                         boolean standalone)
Specified by:
createStartDocument in class XMLEventFactory

createStartElement

public StartElement createStartElement(javax.xml.namespace.QName name,
                                       java.util.Iterator attributes,
                                       java.util.Iterator namespaces)
Specified by:
createStartElement in class XMLEventFactory

createStartElement

public StartElement createStartElement(java.lang.String prefix,
                                       java.lang.String namespaceUri,
                                       java.lang.String localName)
Specified by:
createStartElement in class XMLEventFactory

createStartElement

public StartElement createStartElement(java.lang.String prefix,
                                       java.lang.String namespaceUri,
                                       java.lang.String localName,
                                       java.util.Iterator attributes,
                                       java.util.Iterator namespaces)
Specified by:
createStartElement in class XMLEventFactory

createStartElement

public 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)
Specified by:
createStartElement in class XMLEventFactory

setLocation

public void setLocation(Location location)
Specified by:
setLocation in class XMLEventFactory