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, setRouter
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, toXml, write, writeIfNotNull
public static final String ELEMENT_NAME
protected Pattern pattern
public Resource(Router router)
protected String getElementName()
getElementName
in class AbstractXmlElement
protected void parseChildren(XMLStreamReader token, String child) throws Exception
parseChildren
in class AbstractXmlElement
Exception
protected void parseAttributes(XMLStreamReader token) throws XMLStreamException
parseAttributes
in class AbstractXmlElement
XMLStreamException
public boolean checkAccess(InetAddress inetAddress)
public List<AbstractClientAddress> getClientAddresses()
public boolean matches(String str)
public String getPattern()
Copyright © 2012. All Rights Reserved.