public class Resource extends AbstractXmlElement
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME |
protected Pattern |
pattern |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAccess(String hostname,
String ip) |
protected String |
getElementName() |
String |
getPattern() |
void |
init(Router router) |
boolean |
matches(String str) |
protected void |
parseAttributes(XMLStreamReader token) |
protected void |
parseChildren(XMLStreamReader token,
String child) |
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, toXml, write, writeIfNotNullpublic static final String ELEMENT_NAME
protected Pattern pattern
public Resource(Router router)
protected String getElementName()
getElementName in class AbstractXmlElementprotected void parseChildren(XMLStreamReader token, String child) throws Exception
parseChildren in class AbstractXmlElementExceptionprotected void parseAttributes(XMLStreamReader token) throws XMLStreamException
parseAttributes in class AbstractXmlElementXMLStreamExceptionpublic boolean matches(String str)
public String getPattern()
public void init(Router router)
Copyright © 2021. All Rights Reserved.