public class XmlDefinitionsSet extends Object
Modifier and Type | Field and Description |
---|---|
protected Map |
definitions
Defined definitions.
|
Constructor and Description |
---|
XmlDefinitionsSet()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
extend(XmlDefinitionsSet child)
Add definitions from specified child definitions set.
|
XmlDefinition |
getDefinition(String name)
Get requested definition.
|
Map |
getDefinitions()
Get definitions map.
|
void |
putDefinition(XmlDefinition definition)
Put definition in set.
|
void |
resolveInheritances()
Resolve extended instances.
|
String |
toString()
Get String representation.
|
protected Map definitions
public void putDefinition(XmlDefinition definition)
definition
- Definition to add.public XmlDefinition getDefinition(String name)
name
- Definition name.public Map getDefinitions()
public void resolveInheritances() throws NoSuchDefinitionException
NoSuchDefinitionException
public void extend(XmlDefinitionsSet child)
child
- Definition used to overload this object.Copyright © 2000–2017 Apache Software Foundation. All rights reserved.