Class XMLContainerElement
java.lang.Object
com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextNode
com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextParentNode
com.lucaskjaerozhang.wikitext_parser.ast.layout.XMLContainerElement
- All Implemented Interfaces:
- WikiTextElement
An XML node with children. In WikiText, you can pass through HTML or special xml tags. This
 handles them as a group. Examples: - blockquote - poem
- 
Constructor SummaryConstructorsConstructorDescriptionXMLContainerElement(String tag, List<NodeAttribute> attributes, List<WikiTextNode> content) Creates an XML container node.
- 
Method SummaryModifier and TypeMethodDescription<T> Optional<T>accept(WikiTextASTVisitor<T> visitor) Hook for an AST visitor.Methods inherited from class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextParentNodegetCategories, getFieldValuesFromChildrenMethods inherited from class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextNodegetAttributesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextElementgetCategories
- 
Constructor Details- 
XMLContainerElementCreates an XML container node.- Parameters:
- tag- The XML tag.
- attributes- Any xml attributes.
- content- Child nodes
 
 
- 
- 
Method Details- 
acceptDescription copied from class:WikiTextNodeHook for an AST visitor.- Specified by:
- acceptin class- WikiTextNode
- Type Parameters:
- T- Whatever the visitor produces.
- Parameters:
- visitor- The visitor doing the visitor.
- Returns:
- Whatever the visitor produced.
 
- 
rebuildWithContext- Overrides:
- rebuildWithContextin class- WikiTextParentNode
 
 
-