Class CreateAndInsertTopicRef.Arguments
- java.lang.Object
-
- ro.sync.ecss.extensions.dita.map.topicref.CreateAndInsertTopicRef.Arguments
-
- Enclosing class:
- CreateAndInsertTopicRef
public static class CreateAndInsertTopicRef.Arguments extends java.lang.Object
Handles argument retrieval.
-
-
Constructor Summary
Constructors Constructor Description Arguments(ArgumentsMap args, java.io.File frameworkFolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getFolderUrl()
java.lang.String
getInsertionLocation()
java.lang.String
getTitle()
java.lang.String
getTopicContent()
java.io.File
getTopicFile()
-
-
-
Constructor Detail
-
Arguments
public Arguments(ArgumentsMap args, java.io.File frameworkFolder)
- Parameters:
args
- Args map.frameworkFolder
- The framework folder.
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
- Returns:
- The title.
-
getTopicContent
public java.lang.String getTopicContent()
- Returns:
- The topic content
-
getFolderUrl
public java.util.Optional<java.lang.String> getFolderUrl()
- Returns:
- The folder URL argument.
-
getInsertionLocation
public java.lang.String getInsertionLocation()
- Returns:
- The insertion location, as one of the constants in
AuthorConstants
.
-
getTopicFile
public java.io.File getTopicFile()
- Returns:
- The URL where to read the content from.
-
-