Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.oxm.record
Class FormattedWriterRecord.FormattedWriterRecordContentHandler

java.lang.Object
  extended by org.eclipse.persistence.oxm.record.WriterRecord.WriterRecordContentHandler
      extended by org.eclipse.persistence.oxm.record.FormattedWriterRecord.FormattedWriterRecordContentHandler

All Implemented Interfaces:
org.eclipse.persistence.internal.oxm.record.ExtendedContentHandler, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler
Enclosing class:
FormattedWriterRecord

private class FormattedWriterRecord.FormattedWriterRecordContentHandler
extends WriterRecord.WriterRecordContentHandler

This class will typically be used in conjunction with an XMLFragmentReader. The XMLFragmentReader will walk a given XMLFragment node and report events to this class - the event's data is then written to the enclosing class' writer.

See Also:
XMLFragmentReader, WriterRecord.WriterRecordContentHandler

Field Summary

 

Fields inherited from class org.eclipse.persistence.oxm.record.WriterRecord.WriterRecordContentHandler
prefixMappings

 

Constructor Summary
private FormattedWriterRecord.FormattedWriterRecordContentHandler()
           

 

Method Summary
 void characters(char[] ch, int start, int length)
           
 void comment(char[] ch, int start, int length)
           
 void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)
           

 

Methods inherited from class org.eclipse.persistence.oxm.record.WriterRecord.WriterRecordContentHandler
characters, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, handleAttributes, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping, writeCharacters, writeComment, writePrefixMappings

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

FormattedWriterRecord.FormattedWriterRecordContentHandler

private FormattedWriterRecord.FormattedWriterRecordContentHandler()

Method Detail

startElement

public void startElement(java.lang.String namespaceURI,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes atts)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class WriterRecord.WriterRecordContentHandler
Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String namespaceURI,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class WriterRecord.WriterRecordContentHandler
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler
Overrides:
characters in class WriterRecord.WriterRecordContentHandler
Throws:
org.xml.sax.SAXException

comment

public void comment(char[] ch,
                    int start,
                    int length)
             throws org.xml.sax.SAXException
Specified by:
comment in interface org.xml.sax.ext.LexicalHandler
Overrides:
comment in class WriterRecord.WriterRecordContentHandler
Throws:
org.xml.sax.SAXException

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.