public class Resource extends AbstractConfigElement
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME |
protected Pattern |
pattern |
router| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAccess(InetAddress inetAddress) |
List<AbstractClientAddress> |
getClientAddresses() |
protected String |
getElementName() |
String |
getPattern() |
boolean |
matches(String str) |
protected void |
parseAttributes(XMLStreamReader token) |
protected void |
parseChildren(XMLStreamReader token,
String child) |
getRouter, setRouterdoAfterParsing, 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 checkAccess(InetAddress inetAddress)
public List<AbstractClientAddress> getClientAddresses()
public boolean matches(String str)
public String getPattern()
Copyright © 2012. All Rights Reserved.