-
Classes Class Description org.apache.maven.doxia.sink.impl.PipelineSink Use theSinkWrapperapproach which doesn't require the use of dynamic proxies.org.apache.maven.doxia.sink.impl.RandomAccessSink UseBufferingSinkProxyFactoryinstead which buffers on the (higher) Sink API level which usually is less memory intense than buffering the output stream which is done by this class. Also it doesn't require dynamically creating new sinks leveraging aSinkFactory.org.apache.maven.doxia.sink.impl.SinkEventAttributeSet since 2.2.0, useSinkEventAttributeSetinstead.org.apache.maven.doxia.sink.impl.SinkEventAttributeSet.Semantics UseSinkEventAttributeSet.Semanticsinstead.org.apache.maven.doxia.util.LineBreaker no longer used by Doxia and scheduled for removal in 2.3.0. It also swallows every write failure, so a failing writer would produce a silently truncated file.
-
Methods Method Description org.apache.maven.doxia.parser.AbstractParser.getBasedir() this does not work in multi-module builds, see DOXIA-373org.apache.maven.doxia.parser.AbstractXmlParser.getAttributesFromParser(XmlPullParser) The return type will becomeSinkEventAttributesin 2.3.0. Callers are unaffected if they declare the result as that interface; every use in Doxia itself already needs nothing more than the interface. An override of this method will stop being called once the return type changes, with no error at build or run time. See issue 1074.org.apache.maven.doxia.parser.AbstractXmlParser.handleUnknown(String, SinkEventAttributeSet, Sink, int) Theattribsparameter will becomeSinkEventAttributesin 2.3.0. An override of this signature will stop being called once the parameter type changes, with no error at build or run time, so move the override to the new signature when it lands. See issue 1074.org.apache.maven.doxia.parser.Xhtml5BaseParser.baseEndTag(String, SinkEventAttributeSet, Sink) Theattribsparameter will becomeSinkEventAttributesin 2.3.0. An override of this signature will stop being called once the parameter type changes, with no error at build or run time, so move the override to the new signature when it lands. See issue 1074.org.apache.maven.doxia.parser.Xhtml5BaseParser.baseStartTag(String, SinkEventAttributeSet, Sink) Theattribsparameter will becomeSinkEventAttributesin 2.3.0. An override of this signature will stop being called once the parameter type changes, with no error at build or run time, so move the override to the new signature when it lands. See issue 1074.org.apache.maven.doxia.parser.Xhtml5BaseParser.consecutiveSections(int, Sink, SinkEventAttributeSet) org.apache.maven.doxia.sink.impl.AbstractXmlSink.writeEndTag(HTML.Tag) useAbstractXmlSink.writeEndTag(HtmlTag); thejavax.swingtag type goes in 2.3.0.org.apache.maven.doxia.sink.impl.AbstractXmlSink.writeSimpleTag(HTML.Tag) useAbstractXmlSink.writeSimpleTag(HtmlTag); thejavax.swingtag type goes in 2.3.0.org.apache.maven.doxia.sink.impl.AbstractXmlSink.writeStartTag(HTML.Tag) useAbstractXmlSink.writeStartTag(HtmlTag); thejavax.swingtag type goes in 2.3.0.org.apache.maven.doxia.util.HtmlTools.encodeId(String) org.apache.maven.doxia.util.HtmlTools.isId(String)
-
Constructors Constructor Description org.apache.maven.doxia.index.IndexingSink(IndexEntry) legacy constructor, useIndexingSink(Sink)withSinkAdapteras argument and callIndexingSink.getRootEntry()to retrieve the index tree afterwards.