public class ParamTagHandler extends Object implements TagHandler
Constructor and Description |
---|
ParamTagHandler(net.sourceforge.guacamole.protocol.GuacamoleConfiguration config,
Attributes attributes)
Creates a new handler for an "param" tag having the given
attributes.
|
Modifier and Type | Method and Description |
---|---|
TagHandler |
childElement(String localName,
Attributes attributes)
Called when a child element of the current element is parsed.
|
void |
complete(String textContent)
Called when this element, and all child elements, have been fully parsed,
and the entire text content of this element (if any) is available.
|
public ParamTagHandler(net.sourceforge.guacamole.protocol.GuacamoleConfiguration config, Attributes attributes) throws SAXException
config
- The GuacamoleConfiguration to update with the data parsed
from the "protocol" tag.attributes
- The attributes of the "param" tag.SAXException
- If the attributes given are not valid.public TagHandler childElement(String localName, Attributes attributes) throws SAXException
TagHandler
childElement
in interface TagHandler
localName
- The local name of the child element seen.attributes
- The attributes of the child element seen.SAXException
- If the child element being parsed was not expected,
or some other error prevents a proper TagHandler
from being constructed for the child element.public void complete(String textContent) throws SAXException
TagHandler
complete
in interface TagHandler
textContent
- The full text content of this element, if any.SAXException
- If the text content received is not valid for any
reason, or the child elements parsed are not
correct.Copyright © 2013. All Rights Reserved.