Uses of Interface
org.apache.maven.doxia.sink.Sink
Packages that use Sink
Package
Description
-
Uses of Sink in org.apache.maven.doxia
Methods in org.apache.maven.doxia with parameters of type SinkModifier and TypeMethodDescriptionvoidParses the given source model using a parser with given id, and emits Doxia events into the given sink.voidParses the given source model using a parser with given id, and emits Doxia events into the given sink.voidParses the given source model using a parser with given id, and emits Doxia events into the given sink.voidParses the given source model using a parser with given id, and emits Doxia events into the given sink. -
Uses of Sink in org.apache.maven.doxia.index
Classes in org.apache.maven.doxia.index that implement SinkModifier and TypeClassDescriptionclassA sink wrapper for populating an index tree for particular elements in a document.Constructors in org.apache.maven.doxia.index with parameters of type SinkModifierConstructorDescriptionprivateIndexingSink(IndexEntry rootEntry, Sink delegate) Default constructor.IndexingSink(Sink delegate) -
Uses of Sink in org.apache.maven.doxia.macro
Methods in org.apache.maven.doxia.macro with parameters of type SinkModifier and TypeMethodDescriptionvoidEchoMacro.execute(Sink sink, MacroRequest request) Execute the current macro using the given MacroRequest, and emit events into the given sink.voidMacro.execute(Sink sink, MacroRequest request) Execute the current macro using the given MacroRequest, and emit events into the given sink. -
Uses of Sink in org.apache.maven.doxia.macro.snippet
Methods in org.apache.maven.doxia.macro.snippet with parameters of type SinkModifier and TypeMethodDescriptionvoidSnippetMacro.execute(Sink sink, MacroRequest request) Execute the current macro using the given MacroRequest, and emit events into the given sink. -
Uses of Sink in org.apache.maven.doxia.macro.toc
Methods in org.apache.maven.doxia.macro.toc with parameters of type SinkModifier and TypeMethodDescriptionvoidTocMacro.execute(Sink sink, MacroRequest request) Execute the current macro using the given MacroRequest, and emit events into the given sink.private voidTocMacro.writeSubSectionN(Sink sink, IndexEntry sectionIndex, int n) This recursive method just skips index entries that are not sections (but still evaluates their children).(package private) voidTocMacro.writeTocForIndexEntry(Sink sink, SinkEventAttributes listAttributes, IndexEntry rootEntry) -
Uses of Sink in org.apache.maven.doxia.module.apt
Classes in org.apache.maven.doxia.module.apt that implement SinkFields in org.apache.maven.doxia.module.apt declared as SinkMethods in org.apache.maven.doxia.module.apt that return SinkModifier and TypeMethodDescriptionprotected SinkAptSinkFactory.createSink(Writer writer, String encoding) Create a text Sink for a given encoding.Methods in org.apache.maven.doxia.module.apt with parameters of type SinkModifier and TypeMethodDescriptionprotected voidAptParser.doTraverseText(String text, int begin, int end, Sink sink) Parse the given text.private static voidAptParser.flushTraversed(StringBuilder buffer, Sink sink) Emits the text so far parsed into the given sink.voidParses the given source model and emits Doxia events into the given sink.voidParses the given source model and emits Doxia events into the given sink. -
Uses of Sink in org.apache.maven.doxia.module.fml
Methods in org.apache.maven.doxia.module.fml with parameters of type SinkModifier and TypeMethodDescriptionprotected voidFmlParser.handleCdsect(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles CDATA sections.protected voidFmlParser.handleComment(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles comments.protected voidFmlContentParser.handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible end tags.protected voidFmlParser.handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible end tags.protected voidFmlParser.handleEntity(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles entities.private voidFmlParser.handleParamStart(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) TODO import from XdocParser, probably need to be generic.protected voidFmlContentParser.handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible start tags.protected voidFmlParser.handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible start tags.protected voidFmlParser.handleText(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles text events.voidParses the given source model and emits Doxia events into the given sink.private voidWrites the faqs to the specified sink.private voidFmlParser.writeTopLink(Sink sink) Writes a toplink element. -
Uses of Sink in org.apache.maven.doxia.module.markdown
Classes in org.apache.maven.doxia.module.markdown that implement SinkMethods in org.apache.maven.doxia.module.markdown that return SinkModifier and TypeMethodDescriptionprotected SinkMarkdownSinkFactory.createSink(Writer writer, String encoding) Create a text Sink for a given encoding.Methods in org.apache.maven.doxia.module.markdown with parameters of type SinkModifier and TypeMethodDescriptionprotected booleanMarkdownParser.MarkdownHtmlParser.baseEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) protected booleanMarkdownParser.MarkdownHtmlParser.baseStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) voidParses the given source model and emits Doxia events into the given sink. -
Uses of Sink in org.apache.maven.doxia.module.xdoc
Classes in org.apache.maven.doxia.module.xdoc that implement SinkMethods in org.apache.maven.doxia.module.xdoc that return SinkModifier and TypeMethodDescriptionprotected SinkXdocSinkFactory.createSink(Writer writer, String encoding) Create a text Sink for a given encoding.protected SinkXdocSinkFactory.createSink(Writer writer, String encoding, String languageId) Create a text Sink for a given encoding and for a given language identifier.Methods in org.apache.maven.doxia.module.xdoc with parameters of type SinkModifier and TypeMethodDescriptionprivate voidXdocParser.closeOpenSections(int newLevel, Sink sink) Close open h2, h3, h4, h5 sections.protected voidXdocParser.consecutiveSections(int newLevel, Sink sink) protected voidXdocParser.handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible end tags.private voidXdocParser.handleMacroEnd(Sink sink) private voidXdocParser.handleMetaStart(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink, SinkEventAttributeSet attribs) private voidXdocParser.handleParamStart(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) private voidXdocParser.handleSectionStart(int level, Sink sink, SinkEventAttributeSet attribs, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) protected voidXdocParser.handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible start tags.private voidXdocParser.openMissingSections(int newLevel, Sink sink) Open missing h2, h3, h4, h5 sections.voidParses the given source model and emits Doxia events into the given sink. -
Uses of Sink in org.apache.maven.doxia.module.xhtml5
Classes in org.apache.maven.doxia.module.xhtml5 that implement SinkModifier and TypeClassDescriptionclassAbstract AbstractXhtml5Sink class.classXHTML 5.2 sink implementation.Methods in org.apache.maven.doxia.module.xhtml5 that return SinkModifier and TypeMethodDescriptionprotected SinkXhtml5SinkFactory.createSink(Writer writer, String encoding) Create a text Sink for a given encoding.protected SinkXhtml5SinkFactory.createSink(Writer writer, String encoding, String languageId) Create a text Sink for a given encoding and for a given language identifier.Methods in org.apache.maven.doxia.module.xhtml5 with parameters of type SinkModifier and TypeMethodDescriptionprotected voidXhtml5Parser.handleComment(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles comments.protected voidXhtml5Parser.handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible end tags.protected voidXhtml5Parser.handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible start tags.voidParses the given source model and emits Doxia events into the given sink.private voidXhtml5Parser.processMacro(String text, Sink sink) process macro embedded in XHTML commment -
Uses of Sink in org.apache.maven.doxia.parser
Methods in org.apache.maven.doxia.parser that return SinkModifier and TypeMethodDescriptionprotected SinkAbstractParser.getWrappedSink(Sink sink) Creates a sink pipeline built from all registeredSinkWrapperFactoryobjects.Methods in org.apache.maven.doxia.parser with parameters of type SinkModifier and TypeMethodDescriptionprotected booleanXhtml1BaseParser.baseEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) protected booleanXhtml5BaseParser.baseEndTag(String elementName, SinkEventAttributeSet attribs, Sink sink) protected booleanXhtml5BaseParser.baseEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through a common list of possible html end tags.protected booleanXhtml1BaseParser.baseStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Translates obsolete XHTML 1.0 attributes/elements to valid XHTML5 ones before calling the underlyingXhtml5BaseParser.protected booleanXhtml5BaseParser.baseStartTag(String elementName, SinkEventAttributeSet attribs, Sink sink) protected booleanXhtml5BaseParser.baseStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through a common list of possible html5 start tags.private voidXhtml5BaseParser.closeOpenHeadingSections(int newLevel, Sink sink) Close open heading sections.protected voidXhtml5BaseParser.consecutiveSections(int newLevel, Sink sink, SinkEventAttributeSet attribs) Deprecated.protected voidXhtml5BaseParser.emitHeadingSections(int newLevel, Sink sink, boolean enforceNewSection) Make sure sections are nested consecutively and correctly inserted for the given heading levelvoidAbstractParser.executeMacro(String macroId, MacroRequest request, Sink sink) Execute a macro on the given sink.protected SinkAbstractParser.getWrappedSink(Sink sink) Creates a sink pipeline built from all registeredSinkWrapperFactoryobjects.private voidXhtml5BaseParser.handleAEnd(Sink sink) private voidXhtml5BaseParser.handleAStart(Sink sink, SinkEventAttributeSet attribs) protected voidAbstractXmlParser.handleCdsect(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles CDATA sections.protected voidXhtml5BaseParser.handleCdsect(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles CDATA sections.protected voidAbstractXmlParser.handleComment(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles comments.protected voidXhtml5BaseParser.handleComment(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles comments.private booleanXhtml5BaseParser.handleDivEnd(Sink sink) private booleanXhtml5BaseParser.handleDivStart(SinkEventAttributeSet attribs, Sink sink) protected abstract voidAbstractXmlParser.handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible end tags.protected voidXhtml5BaseParser.handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible end tags.protected voidAbstractXmlParser.handleEntity(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles entities.private voidXhtml5BaseParser.handleHeadingStart(Sink sink, int level, SinkEventAttributeSet attribs) private voidXhtml5BaseParser.handleImgStart(Sink sink, SinkEventAttributeSet attribs) private voidXhtml5BaseParser.handleLIStart(Sink sink, SinkEventAttributeSet attribs) private voidXhtml5BaseParser.handleListItemEnd(Sink sink) private voidXhtml5BaseParser.handleOLStart(Sink sink, SinkEventAttributeSet attribs) private voidXhtml5BaseParser.handlePreStart(SinkEventAttributeSet attribs, Sink sink) private voidXhtml5BaseParser.handlePStart(Sink sink, SinkEventAttributeSet attribs) private voidXhtml5BaseParser.handleSectionEnd(Sink sink) private voidXhtml5BaseParser.handleSectionStart(Sink sink, SinkEventAttributeSet attribs) protected abstract voidAbstractXmlParser.handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible start tags.protected voidXhtml5BaseParser.handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Goes through the possible start tags.private voidXhtml5BaseParser.handleTableStart(Sink sink, SinkEventAttributeSet attribs) protected voidAbstractXmlParser.handleText(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles text events.protected voidXhtml5BaseParser.handleText(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink) Handles text events.protected voidAbstractXmlParser.handleUnknown(String elementName, SinkEventAttributeSet attribs, Sink sink, int type) protected voidAbstractXmlParser.handleUnknown(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink, int type) Handles an unknown event.private voidXhtml5BaseParser.openMissingHeadingSections(int newLevel, Sink sink) Open missing heading sections.voidParses the given source model and emits Doxia events into the given sink.voidConvenience method to parse an arbitrary string and emit events into the given sink.voidConvenience method to parse an arbitrary string and emit events into the given sink.voidParses the given source model and emits Doxia events into the given sink.voidParses the given source model and emits Doxia events into the given sink.voidParses the given source model and emits Doxia events into the given sink.voidParses the given source model and emits Doxia events into the given sink.private voidAbstractXmlParser.parseXml(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Sink sink, String reference) Parse the model from the XmlPullParser into the given sink. -
Uses of Sink in org.apache.maven.doxia.sink
Methods in org.apache.maven.doxia.sink that return SinkModifier and TypeMethodDescriptionSinkFactory.createSink(File outputDir, String outputName) Create aSinkinto a file.SinkFactory.createSink(File outputDir, String outputName, String encoding) Create aSinkinto a file using a specified encoding.SinkFactory.createSink(OutputStream out) Create aSinkinto an OutputStream.SinkFactory.createSink(OutputStream out, String encoding) Create aSinkinto an OutputStream using a specified encoding. -
Uses of Sink in org.apache.maven.doxia.sink.impl
Subinterfaces of Sink in org.apache.maven.doxia.sink.implClasses in org.apache.maven.doxia.sink.impl that implement SinkModifier and TypeClassDescriptionclassAn abstract base class that defines some convenience methods for sinks.classAn abstractSinkfor text markup syntax.classAn abstractSinkfor xml markup syntax.classSink wrapper which emits anchors for each entry detected by the underlyingIndexingSink.classDeprecated.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.classEmpty implementation of theSinkinterface.classBy default aSinkWrapperjust delegates each method to the wrapped sink's method.classValidates that each anchor name only appears once per document.classAbstract base xhtml5 sink implementation.Fields in org.apache.maven.doxia.sink.impl declared as SinkModifier and TypeFieldDescriptionprivate SinkRandomAccessSink.coreSinkDeprecated.private SinkRandomAccessSink.currentSinkDeprecated.private final SinkBufferingSinkProxyFactory.BufferingSinkProxy.delegateprivate SinkSinkWrapper.delegateprivate final SinkEventCapturingSinkProxy.sinkFields in org.apache.maven.doxia.sink.impl with type parameters of type SinkModifier and TypeFieldDescriptionPipelineSink.pipelineDeprecated.RandomAccessSink.sinksDeprecated.Methods in org.apache.maven.doxia.sink.impl that return SinkModifier and TypeMethodDescriptionRandomAccessSink.addSinkHook()Deprecated.By calling this method a sink reference is added at the current position.AbstractTextSinkFactory.createSink(File outputDir, String outputName) Create aSinkinto a file.AbstractTextSinkFactory.createSink(File outputDir, String outputName, String encoding) Create aSinkinto a file using a specified encoding.AbstractTextSinkFactory.createSink(OutputStream out) Create aSinkinto an OutputStream.AbstractTextSinkFactory.createSink(OutputStream out, String encoding) Create aSinkinto an OutputStream using a specified encoding.protected abstract SinkAbstractTextSinkFactory.createSink(Writer writer, String encoding) Create a text Sink for a given encoding.protected abstract SinkAbstractXmlSinkFactory.createSink(Writer writer, String encoding, String languageId) Create a text Sink for a given encoding and for a given language identifier.BufferingSinkProxyFactory.createWrapper(Sink delegate) CreateAnchorsForIndexEntriesFactory.createWrapper(Sink sink) SinkWrapperFactory.createWrapper(Sink sink) By default all wrappers just delegate each method to the wrapped sink's method.UniqueAnchorNamesValidatorFactory.createWrapper(Sink sink) BufferingSinkProxyFactory.BufferingSink.getBufferedSink()SinkWrapper.getWrappedSink()static SinkEventCapturingSinkProxy.newInstance(Sink sink, List<String> capturedEventNames) static SinkPipelineSink.newInstance(List<Sink> pipeline) Deprecated.Returns an instance of a PipelineSink as a Sink.Methods in org.apache.maven.doxia.sink.impl with parameters of type SinkModifier and TypeMethodDescriptionvoidDeprecated.Add a Sink to the List of Sinks.BufferingSinkProxyFactory.castAsBufferingSink(Sink sink) BufferingSinkProxyFactory.createWrapper(Sink delegate) CreateAnchorsForIndexEntriesFactory.createWrapper(Sink sink) SinkWrapperFactory.createWrapper(Sink sink) By default all wrappers just delegate each method to the wrapped sink's method.UniqueAnchorNamesValidatorFactory.createWrapper(Sink sink) static SinkEventCapturingSinkProxy.newInstance(Sink sink, List<String> capturedEventNames) voidSinkWrapper.setWrappedSink(Sink sink) Method parameters in org.apache.maven.doxia.sink.impl with type arguments of type SinkModifier and TypeMethodDescriptionstatic SinkPipelineSink.newInstance(List<Sink> pipeline) Deprecated.Returns an instance of a PipelineSink as a Sink.Constructors in org.apache.maven.doxia.sink.impl with parameters of type SinkModifierConstructorDescription(package private)BufferingSinkProxy(Sink delegate) CreateAnchorsForIndexEntries(Sink delegate) privateEventCapturingSinkProxy(Sink sink, List<String> capturedEventNames) SinkWrapper(Sink delegate) Constructor parameters in org.apache.maven.doxia.sink.impl with type arguments of type SinkModifierConstructorDescriptionPipelineSink(List<Sink> pipeline) Deprecated.Constructs a PipelineSink for a given List of Sinks.
Xhtml5BaseParser.emitHeadingSections(int, Sink, boolean)instead.