Lines Matching refs:entity
441 Entity entity( maData ); in parseStream() local
442 entity.maStructSource = maStructSource; in parseStream()
444 if( !entity.maStructSource.aInputStream.is() ) in parseStream()
447 entity.maConverter.setInputStream( entity.maStructSource.aInputStream ); in parseStream()
448 if( entity.maStructSource.sEncoding.getLength() ) in parseStream()
449 …entity.maConverter.setEncoding( OUStringToOString( entity.maStructSource.sEncoding, RTL_TEXTENCODI… in parseStream()
452 entity.mpParser = XML_ParserCreate( 0 ); in parseStream()
453 if( !entity.mpParser ) in parseStream()
457 XML_SetUserData( entity.mpParser, this ); in parseStream()
458 XML_SetElementHandler( entity.mpParser, call_callbackStartElement, call_callbackEndElement ); in parseStream()
459 XML_SetCharacterDataHandler( entity.mpParser, call_callbackCharacters ); in parseStream()
460 XML_SetExternalEntityRefHandler( entity.mpParser, call_callbackExternalEntityRef ); in parseStream()
462 pushEntity( entity ); in parseStream()
466 if( entity.mxDocumentHandler.is() ) in parseStream()
469 entity.mxDocumentHandler->setDocumentLocator( xLoc ); in parseStream()
470 entity.mxDocumentHandler->startDocument(); in parseStream()
476 if( entity.mxDocumentHandler.is() ) in parseStream()
478 entity.mxDocumentHandler->endDocument(); in parseStream()
484 XML_ParserFree( entity.mpParser ); in parseStream()
490 XML_ParserFree( entity.mpParser ); in parseStream()
496 XML_ParserFree( entity.mpParser ); in parseStream()
501 XML_ParserFree( entity.mpParser ); in parseStream()