Package org.ametys.runtime.model
Class ViewParserContext
java.lang.Object
org.ametys.runtime.model.ViewParserContext
- Direct Known Subclasses:
WebViewParserContext
Object that gives some context for view parsing
There is no context elements needed here. This class can be overridden to add some specific context elements
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of aViewParserContextprotectedViewParserContext(ViewParserContext context) Creates a new instance of aViewParserContextfrom anotherViewParserContext -
Method Summary
Modifier and TypeMethodDescriptionstatic ViewParserContextCreates a new instance of aViewParserContextstatic ViewParserContextnewInstance(ViewParserContext context) Creates a new instance of aViewParserContextfrom anotherViewParserContext.
-
Constructor Details
-
ViewParserContext
protected ViewParserContext()Creates a new instance of aViewParserContext -
ViewParserContext
Creates a new instance of aViewParserContextfrom anotherViewParserContext- Parameters:
context- the view parser context to copy
-
-
Method Details
-
newInstance
Creates a new instance of aViewParserContext- Returns:
- the created instance
-
newInstance
Creates a new instance of aViewParserContextfrom anotherViewParserContext. It can be the same implementation or another one, but it will be casted to the current implementation.- Parameters:
context- the data context to copy- Returns:
- the created instance
-