diff options
author | Jean-Tiare LE BIGOT <admin@jtlebi.fr> | 2012-08-11 13:22:07 -0400 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-08-12 19:29:16 +0200 |
commit | fc2998738538a8e8abc4b8ab5b84a12aa7365dd0 (patch) | |
tree | 8026ad5e9a05948f882f790675c0813c72cd42bf /offapi/com/sun/star/xml/sax | |
parent | 602f956d3231a093c9853d88fe5d5de2465f7112 (diff) |
Remove comment art from offapi and udkapi
I used this "one-liner" to detect comment lines containing
only spaces and '=' or '-'
$ find . -name "*.*" -exec sed -i '/^\s*\/\/\s*[-=]*\s*$/d' {} \;
Change-Id: Iac589765c8c2e7c3ad9c487d57e48b4fd4439f07
Diffstat (limited to 'offapi/com/sun/star/xml/sax')
24 files changed, 0 insertions, 143 deletions
diff --git a/offapi/com/sun/star/xml/sax/FastShapeContextHandler.idl b/offapi/com/sun/star/xml/sax/FastShapeContextHandler.idl index ab694ad95baa..e85334faa728 100644 --- a/offapi/com/sun/star/xml/sax/FastShapeContextHandler.idl +++ b/offapi/com/sun/star/xml/sax/FastShapeContextHandler.idl @@ -21,7 +21,6 @@ #include <com/sun/star/xml/sax/XFastShapeContextHandler.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { diff --git a/offapi/com/sun/star/xml/sax/FastToken.idl b/offapi/com/sun/star/xml/sax/FastToken.idl index 26707c070843..d05a78d69c3d 100644 --- a/offapi/com/sun/star/xml/sax/FastToken.idl +++ b/offapi/com/sun/star/xml/sax/FastToken.idl @@ -21,28 +21,23 @@ #include <com/sun/star/uno/XInterface.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================ constants FastToken { - //------------------------------------------------------------------------- /** specifies an unknown token. */ const long DONTKNOW = -1; - //------------------------------------------------------------------------- /** specifies the first namespace token */ const long NAMESPACE = 0x00010000; }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/FastTokenHandler.idl b/offapi/com/sun/star/xml/sax/FastTokenHandler.idl index b9c6e3252baf..72d9bf30d26c 100644 --- a/offapi/com/sun/star/xml/sax/FastTokenHandler.idl +++ b/offapi/com/sun/star/xml/sax/FastTokenHandler.idl @@ -21,7 +21,6 @@ #include <com/sun/star/xml/sax/XFastTokenHandler.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { diff --git a/offapi/com/sun/star/xml/sax/InputSource.idl b/offapi/com/sun/star/xml/sax/InputSource.idl index 08eded8d0f26..6d0947c27097 100644 --- a/offapi/com/sun/star/xml/sax/InputSource.idl +++ b/offapi/com/sun/star/xml/sax/InputSource.idl @@ -31,11 +31,9 @@ #include <com/sun/star/io/XInputStream.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** specifies the Datasource plus some additional information for the parser. @@ -54,7 +52,6 @@ published struct InputSource */ com::sun::star::io::XInputStream aInputStream; - //------------------------------------------------------------------------- /** contains the encoding of the data stream. This is used by the parser to do Unicode conversions. @@ -66,21 +63,18 @@ published struct InputSource */ string sEncoding; - //------------------------------------------------------------------------- /** contains the public Id of the document, for example, needed in exception-message strings. */ string sPublicId; - //------------------------------------------------------------------------- /** contains the system ID of the document. */ string sSystemId; }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/SAXException.idl b/offapi/com/sun/star/xml/sax/SAXException.idl index 9735cb38b7be..05c0c00a5154 100644 --- a/offapi/com/sun/star/xml/sax/SAXException.idl +++ b/offapi/com/sun/star/xml/sax/SAXException.idl @@ -22,11 +22,9 @@ #include <com/sun/star/uno/Exception.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** encapsulates the details of an XML parse error or warning. @@ -41,7 +39,6 @@ module com { module sun { module star { module xml { module sax { */ published exception SAXException: com::sun::star::uno::Exception { - //------------------------------------------------------------------------- /** This field may contain a wrapped exception. */ @@ -49,7 +46,6 @@ published exception SAXException: com::sun::star::uno::Exception }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/SAXInvalidCharacterException.idl b/offapi/com/sun/star/xml/sax/SAXInvalidCharacterException.idl index c9331508b1f7..ad8d8ebf8593 100644 --- a/offapi/com/sun/star/xml/sax/SAXInvalidCharacterException.idl +++ b/offapi/com/sun/star/xml/sax/SAXInvalidCharacterException.idl @@ -31,11 +31,9 @@ #include <com/sun/star/xml/sax/SAXException.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** stores information for locating the error in the original XML document. @@ -46,7 +44,6 @@ published exception SAXInvalidCharacterException: com::sun::star::xml::sax::SAXE }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/SAXParseException.idl b/offapi/com/sun/star/xml/sax/SAXParseException.idl index b5ca97f88fb7..55eb3db26e46 100644 --- a/offapi/com/sun/star/xml/sax/SAXParseException.idl +++ b/offapi/com/sun/star/xml/sax/SAXParseException.idl @@ -31,11 +31,9 @@ #include <com/sun/star/xml/sax/SAXException.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** stores information for locating the error in the original XML document. @@ -43,26 +41,22 @@ module com { module sun { module star { module xml { module sax { */ published exception SAXParseException: com::sun::star::xml::sax::SAXException { - //------------------------------------------------------------------------- /** contains the public identifier of the document where the exception has occurred. */ string PublicId; - //------------------------------------------------------------------------- /** contains the system identifier of the document. */ string SystemId; - //------------------------------------------------------------------------- /** contains the line number in the document. */ long LineNumber; - //------------------------------------------------------------------------- /** contains the column number in the document. */ @@ -70,7 +64,6 @@ published exception SAXParseException: com::sun::star::xml::sax::SAXException }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XAttributeList.idl b/offapi/com/sun/star/xml/sax/XAttributeList.idl index 2adb940ded26..b82ab5fd1864 100644 --- a/offapi/com/sun/star/xml/sax/XAttributeList.idl +++ b/offapi/com/sun/star/xml/sax/XAttributeList.idl @@ -21,11 +21,9 @@ #include <com/sun/star/uno/XInterface.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** specifies an element's attributes. @@ -40,21 +38,18 @@ module com { module sun { module star { module xml { module sax { */ published interface XAttributeList: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** @returns the number of attributes in this list. */ short getLength(); - //------------------------------------------------------------------------- /** @returns the name of an attribute in this list (by position). */ string getNameByIndex( [in] short i ); - //------------------------------------------------------------------------- /** @returns the type of an attribute in the list (by position). @@ -62,7 +57,6 @@ published interface XAttributeList: com::sun::star::uno::XInterface */ string getTypeByIndex( [in] short i ); - //------------------------------------------------------------------------- /** @returns the type of an attribute in the list (by name). @@ -70,14 +64,12 @@ published interface XAttributeList: com::sun::star::uno::XInterface */ string getTypeByName( [in] string aName ); - //------------------------------------------------------------------------- /** @returns the value of an attribute in the list (by position). */ string getValueByIndex( [in] short i ); - //------------------------------------------------------------------------- /** @returns the value of an attribute in the list (by name). @@ -85,7 +77,6 @@ published interface XAttributeList: com::sun::star::uno::XInterface string getValueByName( [in] string aName ); }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XDTDHandler.idl b/offapi/com/sun/star/xml/sax/XDTDHandler.idl index e3146da67278..7bc06ba8de42 100644 --- a/offapi/com/sun/star/xml/sax/XDTDHandler.idl +++ b/offapi/com/sun/star/xml/sax/XDTDHandler.idl @@ -22,11 +22,9 @@ #include <com/sun/star/uno/XInterface.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** receives events according to the DTD of the document. @@ -43,7 +41,6 @@ module com { module sun { module star { module xml { module sax { */ published interface XDTDHandler: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** receives notification of a notation declaration event. */ @@ -51,7 +48,6 @@ published interface XDTDHandler: com::sun::star::uno::XInterface [in] string sPublicId, [in] string sSystemId ); - //------------------------------------------------------------------------- /** receives notification of an unparsed entity declaration event. */ @@ -62,7 +58,6 @@ published interface XDTDHandler: com::sun::star::uno::XInterface }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XDocumentHandler.idl b/offapi/com/sun/star/xml/sax/XDocumentHandler.idl index cd382dc292ed..9c5f7dc6b74b 100644 --- a/offapi/com/sun/star/xml/sax/XDocumentHandler.idl +++ b/offapi/com/sun/star/xml/sax/XDocumentHandler.idl @@ -28,11 +28,9 @@ #include <com/sun/star/xml/sax/XLocator.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** receives notification of general document events. @@ -42,21 +40,18 @@ module com { module sun { module star { module xml { module sax { */ published interface XDocumentHandler: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** receives notification of the beginning of a document. */ void startDocument() raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the end of a document. */ void endDocument() raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the beginning of an element . */ @@ -64,28 +59,24 @@ published interface XDocumentHandler: com::sun::star::uno::XInterface [in] com::sun::star::xml::sax::XAttributeList xAttribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the end of an element. */ void endElement( [in] string aName ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of character data. */ void characters( [in] string aChars ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of white space that can be ignored. */ void ignorableWhitespace( [in] string aWhitespaces ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of a processing instruction. */ @@ -93,7 +84,6 @@ published interface XDocumentHandler: com::sun::star::uno::XInterface [in] string aData ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives an object for locating the origin of SAX document events. */ @@ -102,7 +92,6 @@ published interface XDocumentHandler: com::sun::star::uno::XInterface }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XEntityResolver.idl b/offapi/com/sun/star/xml/sax/XEntityResolver.idl index a184fe108fd4..075f2450f666 100644 --- a/offapi/com/sun/star/xml/sax/XEntityResolver.idl +++ b/offapi/com/sun/star/xml/sax/XEntityResolver.idl @@ -33,11 +33,9 @@ #include <com/sun/star/xml/sax/InputSource.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** makes it possible to modify the behavior of resolving external preferences. @@ -48,7 +46,6 @@ module com { module sun { module star { module xml { module sax { */ published interface XEntityResolver: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** @returns <type>InputSource</type> for the external entity. @@ -61,7 +58,6 @@ published interface XEntityResolver: com::sun::star::uno::XInterface }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XErrorHandler.idl b/offapi/com/sun/star/xml/sax/XErrorHandler.idl index 07ac632fda50..da5a1e9ba495 100644 --- a/offapi/com/sun/star/xml/sax/XErrorHandler.idl +++ b/offapi/com/sun/star/xml/sax/XErrorHandler.idl @@ -24,11 +24,9 @@ #include <com/sun/star/xml/sax/SAXException.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** is the basic interface for SAX error handlers. @@ -45,19 +43,16 @@ module com { module sun { module star { module xml { module sax { */ published interface XErrorHandler: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** receives notification of a recoverable error. */ void error( [in] any aSAXParseException ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of a non-recoverable error. */ void fatalError( [in] any aSAXParseException ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of a warning. */ void warning( [in] any aSAXParseException ) @@ -65,7 +60,6 @@ published interface XErrorHandler: com::sun::star::uno::XInterface }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl b/offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl index 778171e8bb6c..430679a6c46b 100644 --- a/offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl +++ b/offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl @@ -24,11 +24,9 @@ #include <com/sun/star/xml/sax/SAXException.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** this interface does not conform to the SAX-standard. @@ -37,7 +35,6 @@ module com { module sun { module star { module xml { module sax { */ published interface XExtendedDocumentHandler: com::sun::star::xml::sax::XDocumentHandler { - //------------------------------------------------------------------------- /** receives notification about the start of a CDATA section in the XML-source. @@ -47,7 +44,6 @@ published interface XExtendedDocumentHandler: com::sun::star::xml::sax::XDocumen void startCDATA() raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** informs about the end of a CDATA-Section. <p>Note that <code>startCDATA/endCDATA</code> MUST NOT enclose any @@ -55,20 +51,17 @@ published interface XExtendedDocumentHandler: com::sun::star::xml::sax::XDocumen */ void endCDATA(); - //------------------------------------------------------------------------- /** receives notification about a comment in the XML-source. */ void comment( [in] string sComment ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** informs a writer that it is allowable to insert a line break and indentation before the next <type>XDocumentHandler</type>-call. */ void allowLineBreak() raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** notifies that any characters that cannot be handled by other callback methods are announced through this method. */ @@ -76,7 +69,6 @@ published interface XExtendedDocumentHandler: com::sun::star::xml::sax::XDocumen raises( com::sun::star::xml::sax::SAXException ); }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XFastAttributeList.idl b/offapi/com/sun/star/xml/sax/XFastAttributeList.idl index a5b0e303fa44..8f2d4ea41000 100644 --- a/offapi/com/sun/star/xml/sax/XFastAttributeList.idl +++ b/offapi/com/sun/star/xml/sax/XFastAttributeList.idl @@ -33,11 +33,9 @@ #include <com/sun/star/xml/FastAttribute.idl> #include <com/sun/star/xml/sax/SAXException.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** a container for the attributes of an XML element. @@ -163,7 +161,6 @@ interface XFastAttributeList: com::sun::star::uno::XInterface sequence< ::com::sun::star::xml::FastAttribute > getFastAttributes(); }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XFastContextHandler.idl b/offapi/com/sun/star/xml/sax/XFastContextHandler.idl index 03186357cba7..250a25614c0d 100644 --- a/offapi/com/sun/star/xml/sax/XFastContextHandler.idl +++ b/offapi/com/sun/star/xml/sax/XFastContextHandler.idl @@ -37,11 +37,9 @@ #include <com/sun/star/xml/sax/XLocator.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** receives notification of sax document events from a <type>XFastParser</type>. @@ -50,7 +48,6 @@ module com { module sun { module star { module xml { module sax { */ interface XFastContextHandler: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** receives notification of the beginning of an element . @@ -72,7 +69,6 @@ interface XFastContextHandler: com::sun::star::uno::XInterface void startFastElement( [in] long Element, [in] XFastAttributeList Attribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the beginning of an unknown element . @@ -87,7 +83,6 @@ interface XFastContextHandler: com::sun::star::uno::XInterface void startUnknownElement( [in] string Namespace, [in] string Name, [in] XFastAttributeList Attribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the end of an known element. @see startFastElement @@ -95,7 +90,6 @@ interface XFastContextHandler: com::sun::star::uno::XInterface void endFastElement( [in] long Element ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the end of an known element. @see startUnknownElement @@ -103,7 +97,6 @@ interface XFastContextHandler: com::sun::star::uno::XInterface void endUnknownElement( [in] string Namespace, [in] string Name ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the beginning of a known child element. @@ -124,7 +117,6 @@ interface XFastContextHandler: com::sun::star::uno::XInterface XFastContextHandler createFastChildContext( [in] long Element, [in] XFastAttributeList Attribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the beginning of a unknown child element . @@ -139,7 +131,6 @@ interface XFastContextHandler: com::sun::star::uno::XInterface XFastContextHandler createUnknownChildContext( [in] string Namespace, [in] string Name, [in] XFastAttributeList Attribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of character data. */ @@ -147,7 +138,6 @@ interface XFastContextHandler: com::sun::star::uno::XInterface raises( com::sun::star::xml::sax::SAXException ); }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl b/offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl index 1ae3d7077acd..d722e26435ab 100644 --- a/offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl +++ b/offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl @@ -37,32 +37,27 @@ #include <com/sun/star/xml/sax/XLocator.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** receives notification of sax document events from a <type>XFastParser</type> */ interface XFastDocumentHandler: XFastContextHandler { - //------------------------------------------------------------------------- /** called by the parser when parsing of an XML stream is started. */ void startDocument() raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** called by the parser after the last XML element of a stream is processed. */ void endDocument() raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives an object for locating the origin of SAX document events. */ @@ -71,7 +66,6 @@ interface XFastDocumentHandler: XFastContextHandler }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XFastParser.idl b/offapi/com/sun/star/xml/sax/XFastParser.idl index cefa6551122f..128c4ba241df 100644 --- a/offapi/com/sun/star/xml/sax/XFastParser.idl +++ b/offapi/com/sun/star/xml/sax/XFastParser.idl @@ -48,11 +48,9 @@ #include <com/sun/star/lang/IllegalArgumentException.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** specifies a SAX parser that uses integer values for known XML names (elements, attributes and attribute values). The parser also handles @@ -113,7 +111,6 @@ module com { module sun { module star { module xml { module sax { */ interface XFastParser: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** parses an XML document from a stream. <p>Set the desired handlers before calling this method.</p> @@ -121,20 +118,17 @@ interface XFastParser: com::sun::star::uno::XInterface void parseStream( [in] InputSource aInputSource ) raises( SAXException, com::sun::star::io::IOException ); - //------------------------------------------------------------------------- /** Application must register a document event handler to get sax events for the parsed stream. */ void setFastDocumentHandler( [in] XFastDocumentHandler Handler ); - //------------------------------------------------------------------------- /** must be registered to translate known XML names to integer tokens. */ void setTokenHandler( [in] XFastTokenHandler Handler ); - //------------------------------------------------------------------------- /** registers a known namespace url with the given integer token.<br> @param NamespaceToken @@ -143,7 +137,6 @@ interface XFastParser: com::sun::star::uno::XInterface void registerNamespace( [in] string NamespaceURL, [in] long NamespaceToken ) raises( com::sun::star::lang::IllegalArgumentException ); - //------------------------------------------------------------------------- /** allows an application to register an error event handler. <p>Note that the error handler can throw an exception when an error or @@ -152,12 +145,10 @@ interface XFastParser: com::sun::star::uno::XInterface */ void setErrorHandler( [in] XErrorHandler Handler ); - //------------------------------------------------------------------------- /** allows an application to register a DTD-Handler. */ void setEntityResolver( [in] XEntityResolver Resolver ); - //------------------------------------------------------------------------- /** sets a locale specified for localization of warnings and error messages. <p>Set the language of the error messages. Useful when the parsing @@ -171,7 +162,6 @@ interface XFastParser: com::sun::star::uno::XInterface raises( com::sun::star::lang::IllegalArgumentException ); }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XFastSAXSerializable.idl b/offapi/com/sun/star/xml/sax/XFastSAXSerializable.idl index a9a497463cc6..295947ed7b80 100644 --- a/offapi/com/sun/star/xml/sax/XFastSAXSerializable.idl +++ b/offapi/com/sun/star/xml/sax/XFastSAXSerializable.idl @@ -36,7 +36,6 @@ module com { module sun { module star { module xml { module sax { -//============================================================================= /** serializes a DOM tree by generating FastSAX events. <p> @@ -48,7 +47,6 @@ module com { module sun { module star { module xml { module sax { interface XFastSAXSerializable { - //------------------------------------------------------------------------- /** serializes an object (e.g. a DOM tree) that represents an XML document by generating fast SAX events. diff --git a/offapi/com/sun/star/xml/sax/XFastSerializer.idl b/offapi/com/sun/star/xml/sax/XFastSerializer.idl index 17b3ca89941d..6601a00cfbf1 100644 --- a/offapi/com/sun/star/xml/sax/XFastSerializer.idl +++ b/offapi/com/sun/star/xml/sax/XFastSerializer.idl @@ -34,31 +34,26 @@ #include <com/sun/star/io/XOutputStream.idl> #include <com/sun/star/xml/sax/XFastTokenHandler.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** receives notification of sax document events to write into an XOutputStream. */ interface XFastSerializer: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** called by the parser when parsing of an XML stream is started. */ void startDocument() raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** called by the parser after the last XML element of a stream is processed. */ void endDocument() raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the beginning of an element . @@ -80,7 +75,6 @@ interface XFastSerializer: com::sun::star::uno::XInterface void startFastElement( [in] long Element, [in] XFastAttributeList Attribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the beginning of an unknown element . @@ -95,7 +89,6 @@ interface XFastSerializer: com::sun::star::uno::XInterface void startUnknownElement( [in] string Namespace, [in] string Name, [in] XFastAttributeList Attribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the end of an known element. @see startFastElement @@ -103,7 +96,6 @@ interface XFastSerializer: com::sun::star::uno::XInterface void endFastElement( [in] long Element ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the end of an known element. @see startUnknownElement @@ -111,7 +103,6 @@ interface XFastSerializer: com::sun::star::uno::XInterface void endUnknownElement( [in] string Namespace, [in] string Name ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the beginning of a single element . @@ -133,7 +124,6 @@ interface XFastSerializer: com::sun::star::uno::XInterface void singleFastElement( [in] long Element, [in] XFastAttributeList Attribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of the beginning of a single unknown element . @@ -148,21 +138,18 @@ interface XFastSerializer: com::sun::star::uno::XInterface void singleUnknownElement( [in] string Namespace, [in] string Name, [in] XFastAttributeList Attribs ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** receives notification of character data. */ void characters( [in] string aChars ) raises( com::sun::star::xml::sax::SAXException ); - //------------------------------------------------------------------------- /** */ void setOutputStream ( [in] com::sun::star::io::XOutputStream xOutputStream ) /* raises( com::sun::star::xml::sax::SAXException ) */; - //------------------------------------------------------------------------- /** */ @@ -170,7 +157,6 @@ interface XFastSerializer: com::sun::star::uno::XInterface /* raises( com::sun::star::xml::sax::SAXException ) */; }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl b/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl index 4ce0d42608b0..a3105c5c5ee5 100644 --- a/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl +++ b/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl @@ -25,11 +25,9 @@ #include <com/sun/star/frame/XModel.idl> #include <com/sun/star/io/XInputStream.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** receives notification of sax document events from a <type>XFastParser</type>. @@ -46,7 +44,6 @@ interface XFastShapeContextHandler: com::sun::star::xml::sax::XFastContextHandle [attribute] long StartToken; }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XFastTokenHandler.idl b/offapi/com/sun/star/xml/sax/XFastTokenHandler.idl index ed1b0429f608..a28cfc7fa8de 100644 --- a/offapi/com/sun/star/xml/sax/XFastTokenHandler.idl +++ b/offapi/com/sun/star/xml/sax/XFastTokenHandler.idl @@ -30,11 +30,9 @@ #include <com/sun/star/uno/XInterface.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================ /** interface to translate XML strings to integer tokens. @@ -48,7 +46,6 @@ module com { module sun { module star { module xml { module sax { */ interface XFastTokenHandler: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** returns a integer token for the given string identifier. @@ -58,13 +55,11 @@ interface XFastTokenHandler: com::sun::star::uno::XInterface */ long getToken( [in] string Identifier ); - //------------------------------------------------------------------------- /** returns a string identifier for the given integer token. */ string getIdentifier( [in] long Token ); - //------------------------------------------------------------------------- /** returns a integer token for the given string @@ -77,7 +72,6 @@ interface XFastTokenHandler: com::sun::star::uno::XInterface */ long getTokenFromUTF8( [in] sequence< byte > Identifier ); - //------------------------------------------------------------------------- /** returns a identifier for the given integer token as a byte sequence encoded in UTF-8. @@ -85,7 +79,6 @@ interface XFastTokenHandler: com::sun::star::uno::XInterface sequence< byte > getUTF8Identifier( [in] long Token ); }; -//============================================================================ }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XLocator.idl b/offapi/com/sun/star/xml/sax/XLocator.idl index 4dd571862350..65d601da48b4 100644 --- a/offapi/com/sun/star/xml/sax/XLocator.idl +++ b/offapi/com/sun/star/xml/sax/XLocator.idl @@ -22,11 +22,9 @@ #include <com/sun/star/uno/XInterface.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================ /** makes it possible to associate a SAX event with a document location. @@ -35,32 +33,27 @@ module com { module sun { module star { module xml { module sax { */ published interface XLocator: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** @returns the column number where the current document event ends. */ long getColumnNumber(); - //------------------------------------------------------------------------- /** @returns the line number where the current document event ends. */ long getLineNumber(); - //------------------------------------------------------------------------- /** @returns the public identifier for the current document event. */ string getPublicId(); - //------------------------------------------------------------------------- /** @returns the system identifier for the current document event. */ string getSystemId(); }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XParser.idl b/offapi/com/sun/star/xml/sax/XParser.idl index 5071a87de8f5..8b770dab07dc 100644 --- a/offapi/com/sun/star/xml/sax/XParser.idl +++ b/offapi/com/sun/star/xml/sax/XParser.idl @@ -38,11 +38,9 @@ #include <com/sun/star/lang/Locale.idl> -//============================================================================= module com { module sun { module star { module xml { module sax { -//============================================================================= /** specifies a SAX parser. @@ -51,7 +49,6 @@ module com { module sun { module star { module xml { module sax { */ published interface XParser: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- /** parses an XML document from a stream. <p>Set the desired handlers before calling this method.</p> @@ -60,12 +57,10 @@ published interface XParser: com::sun::star::uno::XInterface raises( com::sun::star::xml::sax::SAXException, com::sun::star::io::IOException ); - //------------------------------------------------------------------------- /** allows an application to register a document event handler. */ void setDocumentHandler( [in] com::sun::star::xml::sax::XDocumentHandler xHandler ); - //------------------------------------------------------------------------- /** allows an application to register an error event handler. <p>Note that the error handler can throw an exception when an error or @@ -74,17 +69,14 @@ published interface XParser: com::sun::star::uno::XInterface */ void setErrorHandler( [in] com::sun::star::xml::sax::XErrorHandler xHandler ); - //------------------------------------------------------------------------- /** allows an application to register a DTD-Handler. */ void setDTDHandler( [in] com::sun::star::xml::sax::XDTDHandler xHandler ); - //------------------------------------------------------------------------- /** allows an application to register a DTD-Handler. */ void setEntityResolver( [in] com::sun::star::xml::sax::XEntityResolver xResolver ); - //------------------------------------------------------------------------- /** sets a locale specified for localization of warnings and error messages. <p>Set the language of the error messages. Useful when the parsing @@ -93,7 +85,6 @@ published interface XParser: com::sun::star::uno::XInterface void setLocale( [in] com::sun::star::lang::Locale locale ); }; -//============================================================================= }; }; }; }; }; diff --git a/offapi/com/sun/star/xml/sax/XSAXSerializable.idl b/offapi/com/sun/star/xml/sax/XSAXSerializable.idl index 45565082f38c..399974b75140 100644 --- a/offapi/com/sun/star/xml/sax/XSAXSerializable.idl +++ b/offapi/com/sun/star/xml/sax/XSAXSerializable.idl @@ -34,7 +34,6 @@ module com { module sun { module star { module xml { module sax { -//============================================================================= /** serializes a DOM tree by generating SAX events. <p> @@ -46,7 +45,6 @@ module com { module sun { module star { module xml { module sax { interface XSAXSerializable { - //------------------------------------------------------------------------- /** serializes an object (e.g. a DOM tree) that represents an XML document by generating SAX events. |