com.simonstl.namespace
Class ReplaceNamespaceRule
java.lang.Object
|
+--com.simonstl.namespace.ReplaceNamespaceRule
- public class ReplaceNamespaceRule
- extends java.lang.Object
ReplaceNamespaceRule objects have two key properties: a URI on which to match, and a URI to replace that URI with.
- Version:
- 0.01 1 August 2001
- Author:
- Simon St.Laurent
Constructor Summary |
ReplaceNamespaceRule(java.lang.String _matchURI,
java.lang.String _resultURI)
|
ReplaceNamespaceRule(java.lang.String _matchURI,
java.lang.String _resultURI,
java.lang.String _resultPrefix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
matchURI
protected java.lang.String matchURI
resultURI
protected java.lang.String resultURI
resultPrefix
protected java.lang.String resultPrefix
ReplaceNamespaceRule
public ReplaceNamespaceRule(java.lang.String _matchURI,
java.lang.String _resultURI)
ReplaceNamespaceRule
public ReplaceNamespaceRule(java.lang.String _matchURI,
java.lang.String _resultURI,
java.lang.String _resultPrefix)
getKey
public java.lang.String getKey()
setMatchURI
public void setMatchURI(java.lang.String _matchURI)
getMatchURI
public java.lang.String getMatchURI()
setResultURI
public void setResultURI(java.lang.String _resultURI)
getResultURI
public java.lang.String getResultURI()
setResultPrefix
public void setResultPrefix(java.lang.String _resultPrefix)
getResultPrefix
public java.lang.String getResultPrefix()
print
public void print()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object