Class SerializingDependencyNodeVisitor
java.lang.Object
org.apache.maven.shared.dependency.tree.traversal.SerializingDependencyNodeVisitor
- All Implemented Interfaces:
DependencyNodeVisitor
A dependency node visitor that serializes visited nodes to a writer.
- Since:
- 1.1
- Version:
- $Id: SerializingDependencyNodeVisitor.java 1595642 2014-05-18 17:32:08Z jvanzyl $
- Author:
- Mark Hobson
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Provides tokens to use when serializing the dependency tree. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SerializingDependencyNodeVisitor.TreeTokens
The extended ASCII tokens to use when outputing the dependency tree.static final SerializingDependencyNodeVisitor.TreeTokens
The standard ASCII tokens to use when outputing the dependency tree.static final SerializingDependencyNodeVisitor.TreeTokens
Whitespace tokens to use when outputing the dependency tree. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a dependency node visitor that serializes visited nodes to the specified writer using whitespace tokens.Creates a dependency node visitor that serializes visited nodes to the specified writer using the specified tokens. -
Method Summary
Modifier and TypeMethodDescriptionboolean
endVisit
(DependencyNode node) Ends the visit to to the specified dependency node.boolean
visit
(DependencyNode node) Starts the visit to the specified dependency node.
-
Field Details
-
WHITESPACE_TOKENS
Whitespace tokens to use when outputing the dependency tree. -
STANDARD_TOKENS
The standard ASCII tokens to use when outputing the dependency tree. -
EXTENDED_TOKENS
The extended ASCII tokens to use when outputing the dependency tree.
-
-
Constructor Details
-
SerializingDependencyNodeVisitor
Creates a dependency node visitor that serializes visited nodes to the specified writer using whitespace tokens.- Parameters:
writer
- the writer to serialize to
-
-
Method Details