Package jmri.web.servlet.operations
Class HtmlManifest
java.lang.Object
jmri.jmrit.operations.trains.trainbuilder.TrainCommon
jmri.web.servlet.operations.HtmlTrainCommon
jmri.web.servlet.operations.HtmlManifest
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.web.servlet.operations.HtmlTrainCommon
HtmlTrainCommon.ShowLocation -
Field Summary
FieldsFields inherited from class jmri.web.servlet.operations.HtmlTrainCommon
locale, resourcePrefix, strings, trainFields inherited from class jmri.jmrit.operations.trains.trainbuilder.TrainCommon
_dropCars, _pickupCars, BLANK_LINE, BUILD_REPORT_CHAR, carManager, ENGINE, engineManager, HORIZONTAL_LINE_CHAR, HYPHEN, IS_MANIFEST, IS_TWO_COLUMN_TRACK, LOCAL, locationManager, NEW_LINE, PAPER_MARGINS, PICKUP, SPACE, TAB, TEXT_COLOR_DONE, TEXT_COLOR_END, TEXT_COLOR_START, VERTICAL_LINE_CHAR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringblockCars(com.fasterxml.jackson.databind.JsonNode cars, RouteLocation location, boolean isManifest) protected Stringprotected StringdropEngine(com.fasterxml.jackson.databind.JsonNode engine) protected StringdropEngines(com.fasterxml.jackson.databind.JsonNode engines) protected CargetCar(com.fasterxml.jackson.databind.JsonNode jnCar) getCarList(ArrayList<com.fasterxml.jackson.databind.JsonNode> jnCars) protected StringgetDropLocation(com.fasterxml.jackson.databind.JsonNode location, HtmlTrainCommon.ShowLocation show) protected StringgetFormattedAttribute(String attribute, String value) protected StringgetFormattedLocation(com.fasterxml.jackson.databind.JsonNode location, HtmlTrainCommon.ShowLocation show, String prefix) protected com.fasterxml.jackson.databind.JsonNodeprotected StringgetPickupLocation(com.fasterxml.jackson.databind.JsonNode location, HtmlTrainCommon.ShowLocation show) protected StringgetTextAttribute(String attribute, com.fasterxml.jackson.databind.JsonNode rollingStock) protected booleanisLocalMove(com.fasterxml.jackson.databind.JsonNode car) protected booleanisUtilityCar(com.fasterxml.jackson.databind.JsonNode car) protected Stringprotected StringpickupEngine(com.fasterxml.jackson.databind.JsonNode engine) protected StringpickupEngines(com.fasterxml.jackson.databind.JsonNode engines) protected StringpickupUtilityCars(ArrayList<com.fasterxml.jackson.databind.JsonNode> jnCars, com.fasterxml.jackson.databind.JsonNode jnCar, RouteLocation location, boolean isManifest) protected StringsetoutUtilityCars(ArrayList<com.fasterxml.jackson.databind.JsonNode> jnCars, com.fasterxml.jackson.databind.JsonNode jnCar, RouteLocation location, boolean isManifest) Methods inherited from class jmri.web.servlet.operations.HtmlTrainCommon
convertToHTMLColor, dropCar, dropCar, dropEngine, dropEngines, engineChange, getCarAttribute, getEngineAttribute, getRollingStockAttribute, getTrackComments, pickUpCar, pickUpCar, pickupEngine, pickupEngines, pickupUtilityCars, setoutUtilityCarsMethods inherited from class jmri.jmrit.operations.trains.trainbuilder.TrainCommon
addCarsLocationUnknown, addLine, addLine, blockCarsByTrack, blockCarsByTrackNameTwoColumn, blockCarsTwoColumn, blockLocosTwoColumn, clearUtilityCarTypes, convertStringTime, convertStringToDate, countPickupUtilityCars, countSetoutUtilityCars, countUtilityCars, createTabIfNeeded, dropCar, dropCar, dropEngines, formatColorString, formatStringToCommaSeparated, getDate, getDate, getDropCarHeader, getDropEngineHeader, getISO8601Date, getLineLength, getLocalMoveHeader, getManifestHeaderLineLength, getPageSize, getPickupCarHeader, getPickupEngineHeader, getSwitchListTrainStatus, getTextColor, getTextColorName, getTextColorString, getTrainMessage, isNextCar, isNextCar, isThereWorkAtLocation, isThereWorkAtLocation, localMoveCar, newLine, newLine, padAndTruncate, padAndTruncateIfNeeded, padString, pickupCar, pickUpCar, pickUpCarTruncated, pickupEngines, pickupUtilityCars, pickupUtilityCars, printCarHeader, printDropCarHeader, printDropEngineHeader, printEngineHeader, printHorizontalLine, printHorizontalLine, printHorizontalLine1, printHorizontalLine2, printHorizontalLine3, printLocalCarMoveHeader, printPickupCarHeader, printPickupEngineHeader, printTrackComments, printTrackNameHeader, setCarPickupAndSetoutTimes, setoutUtilityCars, setoutUtilityCars, setoutUtilityCars, splitString, splitStringLeftParenthesis, tabString, truncatedDropCar
-
Field Details
-
mapper
-
-
Constructor Details
-
HtmlManifest
- Throws:
IOException
-
-
Method Details
-
getLocations
- Throws:
IOException
-
blockCars
protected String blockCars(com.fasterxml.jackson.databind.JsonNode cars, RouteLocation location, boolean isManifest) -
pickupUtilityCars
protected String pickupUtilityCars(ArrayList<com.fasterxml.jackson.databind.JsonNode> jnCars, com.fasterxml.jackson.databind.JsonNode jnCar, RouteLocation location, boolean isManifest) -
setoutUtilityCars
protected String setoutUtilityCars(ArrayList<com.fasterxml.jackson.databind.JsonNode> jnCars, com.fasterxml.jackson.databind.JsonNode jnCar, RouteLocation location, boolean isManifest) -
getCarList
-
getCar
-
pickUpCar
-
dropCar
-
dropEngines
-
dropEngine
-
pickupEngines
-
pickupEngine
-
getDropLocation
protected String getDropLocation(com.fasterxml.jackson.databind.JsonNode location, HtmlTrainCommon.ShowLocation show) -
getPickupLocation
protected String getPickupLocation(com.fasterxml.jackson.databind.JsonNode location, HtmlTrainCommon.ShowLocation show) -
getTextAttribute
protected String getTextAttribute(String attribute, com.fasterxml.jackson.databind.JsonNode rollingStock) -
getFormattedAttribute
-
getFormattedLocation
protected String getFormattedLocation(com.fasterxml.jackson.databind.JsonNode location, HtmlTrainCommon.ShowLocation show, String prefix) -
isLocalMove
-
isUtilityCar
-
getJsonManifest
- Throws:
IOException
-
getValidity
- Overrides:
getValidityin classHtmlTrainCommon
-