public class PageParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static PageParser |
getInstance() |
PageDefinition |
parse(InputStream stream)
Parses a Fujion Server Page into a page definition.
|
protected PageDefinition |
parse(InputStream stream,
String source)
Parses a Fujion Server Page into a page definition.
|
PageDefinition |
parse(org.springframework.core.io.Resource resource)
Parses a Fujion Server Page into a page definition.
|
PageDefinition |
parse(String src)
Parses a Fujion Server Page into a page definition.
|
void |
registerPIParser(PIParserBase piParser)
Registers a processing instruction parser.
|
public static PageParser getInstance()
public PageDefinition parse(String src)
src - URL of the FSP.public PageDefinition parse(org.springframework.core.io.Resource resource)
resource - The resource containing the FSP.public PageDefinition parse(InputStream stream)
stream - An input stream referencing the FSP.protected PageDefinition parse(InputStream stream, String source)
stream - An input stream referencing the FSP.source - Source of the page definition.public void registerPIParser(PIParserBase piParser)
piParser - A processing instruction parser.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.