@API(type=INTERNAL,
     src=PUBLIC)
public class DITAInsertListOperation
extends InsertListOperation
authorAccess, LIST_TYPE_ARGUMENT, listType, SCHEMA_AWARE_ARGUMENT_DESCRIPTORNAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT| Constructor and Description | 
|---|
DITAInsertListOperation()  | 
| Modifier and Type | Method and Description | 
|---|---|
ArgumentDescriptor[] | 
getArguments()  | 
protected CommonsOperationsUtil.ConversionElementHelper | 
getConversionElementsChecker()
Get the conversion element checker. 
 | 
java.lang.String | 
getDescription()  | 
protected java.lang.String | 
getListTypeDescription(java.lang.String listType)
Obtain the name of every list type. 
 | 
protected java.lang.StringBuilder | 
getListXMLFragment(java.lang.String listType,
                  int numberOfListItems,
                  AuthorAccess authorAccess)
Get list XML fragment. 
 | 
protected java.lang.String | 
getNamespace()
Get namespace. 
 | 
protected java.lang.String | 
getParentListType(AuthorNode node)
Get the type of the list in which the new list will be inserted. 
 | 
protected java.lang.String | 
getXMLFragment(AuthorAccess authorAccess,
              java.lang.String listType,
              java.lang.String parentListType)
Get XML fragment to be inserted when nothing is selected. 
 | 
protected void | 
insertContent(AuthorAccess authorAccess,
             AuthorNode listNode,
             java.util.List<CommonsOperationsUtil.SelectedFragmentInfo> selectedFragmentsInfos)
Insert content. 
 | 
protected boolean | 
isEmptyListElement(AuthorNode node)
Checks if the given node is an empty list element. 
 | 
doOperationpublic ArgumentDescriptor[] getArguments()
ArgumentDescriptor representing 
 the arguments this operation uses.AuthorOperation.getArguments()public java.lang.String getDescription()
Extension.getDescription()protected CommonsOperationsUtil.ConversionElementHelper getConversionElementsChecker()
InsertListOperationgetConversionElementsChecker in class InsertListOperationInsertListOperation.getConversionElementsChecker()protected void insertContent(AuthorAccess authorAccess, AuthorNode listNode, java.util.List<CommonsOperationsUtil.SelectedFragmentInfo> selectedFragmentsInfos)
InsertListOperationinsertContent in class InsertListOperationauthorAccess - The author access.listNode - The list node.selectedFragmentsInfos - The fragments to be inserted.InsertListOperation.insertContent(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.node.AuthorNode, java.util.List)protected java.lang.String getNamespace()
InsertListOperationgetNamespace in class InsertListOperationInsertListOperation.getNamespace()protected java.lang.String getXMLFragment(AuthorAccess authorAccess, java.lang.String listType, java.lang.String parentListType)
InsertListOperationgetXMLFragment in class InsertListOperationauthorAccess - The author access.listType - The type of the list to be inserted.parentListType - The type of the parent list, can be nullInsertListOperation.getXMLFragment(ro.sync.ecss.extensions.api.AuthorAccess, java.lang.String, java.lang.String)protected java.lang.StringBuilder getListXMLFragment(java.lang.String listType,
                                                     int numberOfListItems,
                                                     AuthorAccess authorAccess)
InsertListOperationgetListXMLFragment in class InsertListOperationlistType - The list type.numberOfListItems - The number of list items.authorAccess - The author access.InsertListOperation.getListXMLFragment(java.lang.String, int, ro.sync.ecss.extensions.api.AuthorAccess)protected java.lang.String getParentListType(AuthorNode node)
InsertListOperationnull.getParentListType in class InsertListOperationnode - The node at offset.null.InsertListOperation.getParentListType(ro.sync.ecss.extensions.api.node.AuthorNode)protected boolean isEmptyListElement(AuthorNode node)
InsertListOperationisEmptyListElement in class InsertListOperationnode - The node to check.true if the given node is an empty list element, false otherwise.InsertListOperation.isEmptyListElement(ro.sync.ecss.extensions.api.node.AuthorNode)protected java.lang.String getListTypeDescription(java.lang.String listType)
InsertListOperationgetListTypeDescription in class InsertListOperationlistType - The list type.InsertListOperation.getListTypeDescription(java.lang.String)© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.