Class FrameworkNodeWrapperVisitor
Visitor used to build framework wrapper nodes for markup data items.
Implements
Inherited Members
Namespace: SdlSdl.DesktopEditorEditorApi
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public class FrameworkNodeWrapperVisitor : IMarkupDataVisitor
Constructors
FrameworkNodeWrapperVisitor(INodeFactory)
Declaration
public FrameworkNodeWrapperVisitor(INodeFactory factory)
Parameters
Type | Name | Description |
---|---|---|
INodeFactory | factory | the factory that will be used to create the wrapping nodes |
Properties
Factory
The factory used to create the nodes.
Declaration
public INodeFactory Factory { get; set; }
Property Value
Type | Description |
---|---|
INodeFactory |
Node
The wrapped node.
Declaration
public IChangeableNode Node { get; set; }
Property Value
Type | Description |
---|---|
IChangeableNode |
Methods
VisitCommentMarker(ICommentMarker)
Create a corresponding framework comment container node.
Declaration
public void VisitCommentMarker(ICommentMarker commentMarker)
Parameters
Type | Name | Description |
---|---|---|
ICommentMarker | commentMarker |
VisitLocationMarker(ILocationMarker)
Create a corresponding framework location marker node.
Declaration
public void VisitLocationMarker(ILocationMarker location)
Parameters
Type | Name | Description |
---|---|---|
ILocationMarker | location |
VisitLockedContent(ILockedContent)
Create a corresponding framework locked content container node, including all child nodes.
Declaration
public void VisitLockedContent(ILockedContent lockedContent)
Parameters
Type | Name | Description |
---|---|---|
ILockedContent | lockedContent |
VisitOtherMarker(IOtherMarker)
Create a corresponding framework marker container node, including all child nodes.
Declaration
public void VisitOtherMarker(IOtherMarker marker)
Parameters
Type | Name | Description |
---|---|---|
IOtherMarker | marker |
VisitPlaceholderTag(IPlaceholderTag)
Create a corresponding framework placeholder tag node.
Declaration
public void VisitPlaceholderTag(IPlaceholderTag tag)
Parameters
Type | Name | Description |
---|---|---|
IPlaceholderTag | tag |
VisitRevisionMarker(IRevisionMarker)
Create a corresponding revision marker node, including all child nodes.
Declaration
public void VisitRevisionMarker(IRevisionMarker revisionMarker)
Parameters
Type | Name | Description |
---|---|---|
IRevisionMarker | revisionMarker |
VisitSegment(ISegment)
Create a corresponding framework segment node, including all child nodes.
Declaration
public void VisitSegment(ISegment segment)
Parameters
Type | Name | Description |
---|---|---|
ISegment | segment |
VisitTagPair(ITagPair)
Create a corresponding framework tag pair node, including all child nodes.
Declaration
public void VisitTagPair(ITagPair tagPair)
Parameters
Type | Name | Description |
---|---|---|
ITagPair | tagPair |
VisitText(IText)
Create a corresponding framework text node.
Declaration
public void VisitText(IText text)
Parameters
Type | Name | Description |
---|---|---|
IText | text |