ContentDescriptor,
AbstractReadHandle,
AbstractWriteHandle,
BufferableContentHandle<InputSource, InputStream>, BufferableHandle,
ContentHandle<InputSource>, CtsQueryWriteHandle,
DocumentMetadataReadHandle,
DocumentMetadataWriteHandle,
DocumentPatchHandle,
QueryOptionsListReadHandle,
QueryOptionsReadHandle,
QueryOptionsWriteHandle,
RuleListReadHandle,
RuleReadHandle,
RuleWriteHandle,
SearchReadHandle,
SPARQLResultsReadHandle,
StreamingContentHandle<InputSource, InputStream>, StructureReadHandle,
StructureWriteHandle,
TriplesReadHandle,
TriplesWriteHandle,
TuplesReadHandle,
ValuesListReadHandle,
ValuesReadHandle,
XMLReadHandle,
XMLWriteHandle,
OutputStreamSender,
Closeable, AutoCloseableAn Input Source Handle represents XML content as an input source for reading or writing. When reading, the XML may be processed by a SAX content handler.
Always call close() when
finished with this handle to release the resources.
static
class UNKNOWN_LENGTHInputSourceHandle (InputSource content)bytesToContent (byte[] buffer)voidclose()byte[]contentToBytes (InputSource content)voidfromBuffer (byte[] buffer)get()protected XMLReadermakeReader (boolean isForWrite)protected SAXParserFactorynewArray (int length)static ContentHandleFactorynewHandleArray (int length)voidprocess (ContentHandler handler)protected Class<InputStream>protected voidreceiveContent (InputStream content)protected OutputStreamSenderprotected OutputStreamSendersendContent (InputSource content)voidset (InputSource content)voidsetDefaultWriteSchema (Schema schema)voidsetErrorHandler (ErrorHandler errorHandler)voidsetFactory (SAXParserFactory factory)voidvoidsetResolver (EntityResolver resolver)byte[]toBuffer()toContent (InputStream serialization)toString()with (InputSource content)withMimetype (String mimetype)voidwrite (OutputStream out)getByteLength,
getFormat, getMimetype, getServerTimestamp,
setByteLength,
setMimetype,
setServerTimestampgetPointInTimeQueryTimestamp, isResendable,
setPointInTimeQueryTimestamp, setResendable,
setResponseServerTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnewHandle,
resendableHandleForresendableHandleForcontent - a SAX input sourceresolver - the reference resolvererrorHandler - the error handlerget in
interface ContentHandle<InputSource>set in
interface ContentHandle<InputSource>content - an input sourcecontent - an input sourceContentHandlegetContentClass in
interface ContentHandle<InputSource>ContentHandlenewHandle in
interface BufferableContentHandle<InputSource, InputStream>newHandle in
interface ContentHandle<InputSource>BufferableContentHandlenewHandleArray in
interface BufferableContentHandle<InputSource, InputStream>length - the number of positions in the arrayContentHandlenewArray in
interface ContentHandle<InputSource>length - the size of the array (zero or more)handler - the SAX content handler
setFormat in interface ContentDescriptorsetFormat in
class BaseHandle<InputStream, OutputStreamSender>format - the format of the contentmimetype - the mime type of the contentBufferableHandlefromBuffer in
interface BufferableHandlebuffer - the byte arrayBufferableHandletoBuffer in
interface BufferableHandleBufferableContentHandletoContent in
interface BufferableContentHandle<InputSource, InputStream>serialization - a serialization of the
contentBufferableContentHandlebytesToContent in
interface BufferableContentHandle<InputSource, InputStream>buffer - the byte serializationBufferableContentHandlecontentToBytes in
interface BufferableContentHandle<InputSource, InputStream>content - the contentSAXException - if such an error occurs
while initializing the new factoryParserConfigurationException - if such
an error occurs while initializing the new factoryfactory - the SAX factoryInputSourceHandle.DraconianErrorHandler
and set the repair policy to NONE on the XMLDocumentManager. An
error on the root element can still result in an empty
document.schema - the default schema for writing
documentsreceiveAs in
class com.marklogic.client.impl.HandleImplementation<InputStream, OutputStreamSender>receiveContent in
class com.marklogic.client.impl.HandleImplementation<InputStream, OutputStreamSender>sendContent in
class com.marklogic.client.impl.HandleImplementation<InputStream, OutputStreamSender>OutputStreamSenderwrite in
interface OutputStreamSenderout - the output stream receiving the contentIOException - if io problems ariseclose in
interface AutoCloseableclose in
interface CloseableCopyright (c) 2010-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.