class CASL::XMLService

CASL API for processing XML documents

Inheritance:


Public Methods

[more]void close()
close
[more]static XMLTransformer* createSDOMCollector()
create transformer, which collect SDOM Slot for us.
[more]static XMLContext* createXMLContext()
create XML Context
[more]static XMLIstreamSource* createXMLIstreamSource(std::istream& x)
create XML Reader.
[more]static XMLOstreamDestination* createXMLOstreamDestination(std::ostream& x)
create XML Writer
[more]static XMLTransformer* createXMLTransformer(std::istream& in, std::ostream& out)
create empty transformer with binded input and output.
[more]static XMLDestination* createXMLWStringChunkDestination(WStringChunk& x)
create XML Writer
[more]static XMLSource* createXMLWStringChunkSource(const WStringChunk& x)
create XML Reader from chunk
[more]void init(ServerContext*)
Initialize
[more]bool isLongRunning()
this is not long runing service
[more]static SDOMNode* parse(std::istream& in)
parse XML stream into SDOM node
[more]void run()
run as server
[more]const char* serviceName() const
return "XMLService"


Inherited from Service:

Public Methods

ostd::ostream& debugs()
ovirtual ValueProxy doCommand(const char* command, Value* optParams)
ostd::ostream& errors()
ostd::ostream& fatals()
oGradSoft::Logger& getLogger()
ovirtual ValueProxy getProperty(const char* name)
oGradSoft::Thread::id_type getThreadId()
ostd::ostream& infos()
ovirtual const char* name() const
ovirtual bool requireThread()
ovirtual void setProperty(const char* name, const char* value)
ovoid waitRun()
ostd::ostream& warnings()

Protected Methods

oNamedValues& getProperties()


Documentation

CASL API for processing XML documents
oconst char* serviceName() const
return "XMLService"

obool isLongRunning()
this is not long runing service

ovoid init(ServerContext*)
Initialize

ovoid run()
run as server

ovoid close()
close

ostatic XMLIstreamSource* createXMLIstreamSource(std::istream& x)
create XML Reader.

ostatic XMLSource* createXMLWStringChunkSource(const WStringChunk& x)
create XML Reader from chunk

ostatic XMLOstreamDestination* createXMLOstreamDestination(std::ostream& x)
create XML Writer

ostatic XMLDestination* createXMLWStringChunkDestination(WStringChunk& x)
create XML Writer

ostatic XMLContext* createXMLContext()
create XML Context

ostatic XMLTransformer* createXMLTransformer(std::istream& in, std::ostream& out)
create empty transformer with binded input and output. we can chain before or after one.

ostatic XMLTransformer* createSDOMCollector()
create transformer, which collect SDOM Slot for us. later SDOM will be aviable throught "SDOM" slot in XMLContext.

ostatic SDOMNode* parse(std::istream& in)
parse XML stream into SDOM node


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.