@Contract
public interface BundleNode
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
elementsAllowingEmptyValue()
Returns the element names related to the standard or related runtime nodes
for which the parser should allow empty values.
|
Collection<String> |
elementsPreservingWhiteSpace()
Returns the element names related to the standard or related runtime nodes
for which the parser should preserve whitespace.
|
String |
registerBundle(Map<String,String> publicIDToSystemIDMapping)
Registers the standard bundle node in the map.
|
Map<String,Class> |
registerRuntimeBundle(Map<String,String> publicIDToSystemIDMapping,
Map<String,List<Class>> versionUpgrades)
Registers all appropriate runtime bundle nodes for this standard node
into the map.
|
String registerBundle(Map<String,String> publicIDToSystemIDMapping)
The implementation class must add to the map an entry with the key equal to the public ID of the DTD and the value the system ID.
publicIDToSystemIDMapping - map prepared by the callerversionUpgrades - The list of upgrades from older versionsMap<String,Class> registerRuntimeBundle(Map<String,String> publicIDToSystemIDMapping, Map<String,List<Class>> versionUpgrades)
The implementation class must add to the map one entry for each associated runtime descriptor node, with the entry key equal to the public ID of the runtime DTD and the value the system ID of the runtime DTD. The implementation must also return a map containing one entry for each associated runtime node, with the entry key equal to the top-level element name for the runtime descriptor and the entry value equal to the class of the runtime node.
publicIDToSystemIDMapping - versionUpgrades - The list of upgrades from older versions
to the latest schemaCollection<String> elementsAllowingEmptyValue()
Collection<String> elementsPreservingWhiteSpace()
Copyright © 2017. All rights reserved.