public abstract class ParserActionBase extends Object implements ParserAction
| Constructor and Description |
|---|
ParserActionBase(String propertyName,
boolean prefix,
Operation operation,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
apply(Properties props)
Apply this action to props and return the result.
|
boolean |
equals(Object obj) |
String |
getFieldName()
Return the field name in an object that is set with the result
|
protected Operation |
getOperation() |
String |
getPropertyName()
Return the property name or prefix for which this action
is applied.
|
int |
hashCode() |
boolean |
isPrefix()
Return whether this action is for an exact match or a prefix
match (true).
|
public String getPropertyName()
ParserActiongetPropertyName in interface ParserActionpublic boolean isPrefix()
ParserActionisPrefix in interface ParserActionpublic String getFieldName()
ParserActiongetFieldName in interface ParserActionpublic abstract Object apply(Properties props)
ParserActionapply in interface ParserActionprotected Operation getOperation()
Copyright © 2018 JBoss by Red Hat. All rights reserved.