Class NodeBufferingParser
java.lang.Object
org.apache.maven.model.transform.pull.BufferingParser
org.apache.maven.model.transform.pull.NodeBufferingParser
- All Implemented Interfaces:
XmlPullParser
- Direct Known Subclasses:
ReactorDependencyXMLFilter
,RelativePathXMLFilter
Buffer events while parsing a given element to allow some post-processing.
- Since:
- 4.0.0
- Author:
- Guillaume Nodet
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.transform.pull.BufferingParser
BufferingParser.Attribute, BufferingParser.Event, BufferingParser.Namespace
-
Field Summary
Fields inherited from class org.apache.maven.model.transform.pull.BufferingParser
bypass, current, events, xmlPullParser
Fields inherited from interface org.codehaus.plexus.util.xml.pull.XmlPullParser
CDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, FEATURE_PROCESS_DOCDECL, FEATURE_PROCESS_NAMESPACES, FEATURE_REPORT_NAMESPACE_ATTRIBUTES, FEATURE_VALIDATION, IGNORABLE_WHITESPACE, NO_NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_TAG, TEXT, TYPES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
accept()
protected abstract void
process
(List<BufferingParser.Event> buffer) Methods inherited from class org.apache.maven.model.transform.pull.BufferingParser
bufferEvent, bypass, bypass, defineEntityReplacementText, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getColumnNumber, getDepth, getEventType, getFeature, getInputEncoding, getLineNumber, getName, getNamespace, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getPositionDescription, getPrefix, getProperty, getText, getTextCharacters, isAttributeDefault, isEmptyElementTag, isWhitespace, next, nextTag, nextText, nextToken, nullSafeAppend, pushEvent, require, setFeature, setInput, setInput, setProperty
-
Constructor Details
-
NodeBufferingParser
-
-
Method Details
-
accept
- Overrides:
accept
in classBufferingParser
- Throws:
XmlPullParserException
IOException
-
process
-