public interface Catalog
| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(javax.xml.namespace.QName name,
Command command)
Adds a command to this catalog with the specified QName.
|
void |
addCommand(java.lang.String localName,
Command command)
Adds a command to this catalog in the default namespace.
|
Command |
getCommand(javax.xml.namespace.QName name)
Gets a command from this catalog with the specified QName.
|
Command |
getCommand(java.lang.String localName)
Gets a command from this catalog in the default namespace.
|
java.util.Map<javax.xml.namespace.QName,Command> |
getCommandMap()
Returns a map of all the commands defined in this catalog.
|
void addCommand(java.lang.String localName,
Command command)
localName - The name of the command.command - The command to add.void addCommand(javax.xml.namespace.QName name,
Command command)
name - The name of the command.command - The command to add.Command getCommand(java.lang.String localName) throws CommandNotFoundException
localName - The name of the command.CommandNotFoundException - If no command for the given name could be found.Command getCommand(javax.xml.namespace.QName name) throws CommandNotFoundException
name - The name of the command.CommandNotFoundException - If no command for the given name could be found.java.util.Map<javax.xml.namespace.QName,Command> getCommandMap()
Copyright © 2013 XChain Framework. All Rights Reserved.