public abstract class SyntaxIdentifierImpl extends java.lang.Object implements SyntaxIdentifier
Constructor and Description |
---|
SyntaxIdentifierImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addPattern(java.lang.String pattern)
Add a pattern to the list of configured patterns used to match a
document.
|
java.lang.String |
getDestination()
Get the configured destination.
|
java.util.List<java.lang.String> |
getPatterns()
Get a list of configured patterns.
|
void |
setDestination(java.lang.String dest)
Set the configured destination.
|
void |
setPatterns(java.util.List<java.lang.String> l)
Set a list of configured patterns.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isThisSyntax
public void setDestination(java.lang.String dest)
SyntaxIdentifier
This is the value that will be stored against the metadata key specified by SyntaxRoutingService.
setDestination
in interface SyntaxIdentifier
dest
- the destination.SyntaxIdentifier.setDestination(java.lang.String)
public java.lang.String getDestination()
SyntaxIdentifier
getDestination
in interface SyntaxIdentifier
SyntaxIdentifier.getDestination()
public void addPattern(java.lang.String pattern)
SyntaxIdentifier
addPattern
in interface SyntaxIdentifier
pattern
- a pattern.SyntaxIdentifier.addPattern(java.lang.String)
public java.util.List<java.lang.String> getPatterns()
SyntaxIdentifier
getPatterns
in interface SyntaxIdentifier
SyntaxIdentifier.getPatterns()
public void setPatterns(java.util.List<java.lang.String> l)
SyntaxIdentifier
setPatterns
in interface SyntaxIdentifier
l
- the list.SyntaxIdentifier.getPatterns()