public class AuthorizeTagHandler extends Object implements TagHandler
| Constructor and Description |
|---|
AuthorizeTagHandler(UserMapping parent)
Creates a new AuthorizeTagHandler that parses an Authorization owned
by the given UserMapping.
|
| Modifier and Type | Method and Description |
|---|---|
Authorization |
asAuthorization()
Returns an Authorization backed by the data of this authorize tag
handler.
|
TagHandler |
childElement(String localName)
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.
|
void |
init(Attributes attributes)
Called when the element corresponding to this TagHandler is first seen,
just after an instance is created.
|
public AuthorizeTagHandler(UserMapping parent)
parent - The UserMapping that owns the Authorization this handler
will parse.public void init(Attributes attributes) throws SAXException
TagHandlerinit in interface TagHandlerattributes - The attributes of the element seen.SAXException - If an error prevents a the TagHandler from being
from being initialized.public TagHandler childElement(String localName) throws SAXException
TagHandlerchildElement in interface TagHandlerlocalName - The local name 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
TagHandlercomplete in interface TagHandlertextContent - 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.public Authorization asAuthorization()
Copyright © 2016. All rights reserved.