public class Location<T extends Location<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Location.LocationResources
Child mutators for Location
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
filterRef(FilterRef value)
Add the FilterRef object to the list of subresources
|
T |
filterRef(FilterRefSupplier supplier)
Install a supplied FilterRef object to the list of subresources
|
T |
filterRef(String childKey)
Create and configure a FilterRef object to the list of subresources
|
T |
filterRef(String childKey,
FilterRefConsumer consumer)
Create and configure a FilterRef object to the list of subresources
|
T |
filterRefs(List<FilterRef> value)
Add all FilterRef objects to this subresource
|
String |
getKey() |
String |
handler()
Default handler for this location
|
T |
handler(String value)
Default handler for this location
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Location.LocationResources |
subresources() |
public Location(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Location.LocationResources subresources()
public T filterRefs(List<FilterRef> value)
value
- List of FilterRef objects.public T filterRef(FilterRef value)
value
- The FilterRef to addpublic T filterRef(String childKey, FilterRefConsumer consumer)
key
- The key for the FilterRef resourceconfig
- The FilterRefConsumer to usepublic T filterRef(String childKey)
key
- The key for the FilterRef resourcepublic T filterRef(FilterRefSupplier supplier)
public String handler()
Copyright © 2019 JBoss by Red Hat. All rights reserved.