@Override protected void visitChildren(ExtensionVisitor ev) throws ExtensionVisitor.StoppedException { // Add out of line content to the visitor pattern by wrapping in an // adaptor. This is necessary so the src reference can be processed. if (state.content instanceof OutOfLineContent) { this.visitChild(ev, new OutOfLineReference((OutOfLineContent) state.content)); } // Add nested links to the visitor pattern for (Link link : getLinks()) { this.visitChild(ev, link); } super.visitChildren(ev); }
@Override protected void visitChildren(ExtensionVisitor ev) throws ExtensionVisitor.StoppedException { // Add out of line content to the visitor pattern by wrapping in an // adaptor. This is necessary so the src reference can be processed. if (state.content instanceof OutOfLineContent) { this.visitChild(ev, new OutOfLineReference((OutOfLineContent) state.content)); } // Add nested links to the visitor pattern for (Link link : getLinks()) { this.visitChild(ev, link); } super.visitChildren(ev); }
@Override protected void visitChildren(ExtensionVisitor ev) throws ExtensionVisitor.StoppedException { // Add out of line content to the visitor pattern by wrapping in an // adaptor. This is necessary so the src reference can be processed. if (state.content instanceof OutOfLineContent) { this.visitChild(ev, new OutOfLineReference((OutOfLineContent) state.content)); } // Add nested links to the visitor pattern for (Link link : getLinks()) { this.visitChild(ev, link); } super.visitChildren(ev); }