public abstract class AbstractFXGVersionHandler extends Object implements IFXGVersionHandler
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Map<String,Class<? extends IFXGNode>>> |
elementNodesByURI
A Map of URIs to a Map of local element names to an IFXGNode Class.
|
protected FXGVersion |
handlerVersion |
protected Map<String,Set<String>> |
skippedElementsByURI
A Map of URIs to a List of local element names.
|
| Constructor and Description |
|---|
AbstractFXGVersionHandler() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<? extends IFXGNode>> |
getElementNodes(String URI) |
Set<String> |
getSkippedElements(String URI) |
FXGVersion |
getVersion() |
protected void |
init() |
void |
registerElementNodes(String URI,
Map<String,Class<? extends IFXGNode>> elementNodes)
Registers mapping for the scanner to process elements and Classes that
handle the elements
|
void |
registerSkippedElements(String URI,
Set<String> skippedElements)
Registers names of elements that are to be skipped by the scanner
|
protected Map<String,Set<String>> skippedElementsByURI
protected Map<String,Map<String,Class<? extends IFXGNode>>> elementNodesByURI
protected FXGVersion handlerVersion
public FXGVersion getVersion()
getVersion in interface IFXGVersionHandlerprotected void init()
public Set<String> getSkippedElements(String URI)
getSkippedElements in interface IFXGVersionHandlerURI - - namespace for the elementspublic Map<String,Class<? extends IFXGNode>> getElementNodes(String URI)
getElementNodes in interface IFXGVersionHandlerURI - - namespace for the elementspublic void registerSkippedElements(String URI, Set<String> skippedElements)
registerSkippedElements in interface IFXGVersionHandlerURI - - namespace for the elementsskippedElements - - Set of Strings that specify elements names that
are to be scanned by scannerpublic void registerElementNodes(String URI, Map<String,Class<? extends IFXGNode>> elementNodes)
registerElementNodes in interface IFXGVersionHandlerURI - - namespace for the elementselementNodes - - a Map containing mapping from elements names to
Classes that handle the elements.Copyright © 2016 The Apache Software Foundation. All rights reserved.