public class AddressMapping extends Object
DMRMapping.
The mapping currently supports three different types of address value declarations:
StatementContext.| Modifier and Type | Class and Description |
|---|---|
static class |
AddressMapping.StringTokenizer |
static class |
AddressMapping.Token |
| Constructor and Description |
|---|
AddressMapping(List<AddressMapping.Token> tuple) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String parent,
String child) |
ModelNode |
asResource(ModelNode baseAddress,
StatementContext context,
String... wildcards) |
ModelNode |
asResource(StatementContext context,
String... wildcards) |
static AddressMapping |
fromString(String address) |
Map<String,Integer> |
getRequiredStatements()
Parses the address declaration for tokens
that need to be resolved against the statement context.
|
static List<AddressMapping.Token> |
parseAddressString(String value) |
String |
toString() |
public AddressMapping(List<AddressMapping.Token> tuple)
public ModelNode asResource(StatementContext context, String... wildcards)
public Map<String,Integer> getRequiredStatements()
public ModelNode asResource(ModelNode baseAddress, StatementContext context, String... wildcards)
public static List<AddressMapping.Token> parseAddressString(String value)
public static AddressMapping fromString(String address)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.