|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.nds.dirxml.driver.jdbc.util.JDBCDNParser
A JDBC shim DN or association (e.g. IDU=1,table=USR,schema=IDM).
| Constructor Summary | |
JDBCDNParser(String someDN)
Instantiates a JDBC shim DN/association. |
|
| Method Summary | |
String |
getErrorMessage()
Returns a parse error message, if any. |
String |
getSchemaName()
Returns the schema name value in this DN/association. |
String |
getSlashEscapedValue(String columnName)
Returns the value of column columnName in this DN/association. |
String |
getTableName()
Returns the table name value in this DN/association. |
String |
getValue(String columnName)
Returns the value of column columnName in this DN/association. |
boolean |
parseError()
Indicates whether an error occurred parsing this DN/association. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDBCDNParser(String someDN)
someDN - may be null; format should be
"<column-name>=<value>[+<column-name>=<value>]*,table=<table-name>[,schema=<schema-name>]?" | Method Detail |
public boolean parseError()
true if there was a parse error;
false otherwisepublic String getErrorMessage()
nullpublic String getSlashEscapedValue(String columnName)
columnName in this DN/association.
Return value is properly escaped for inclusion in a slash-formatted DN
(e.g. "Tree\OU\Object"). Escapes characters
{''' | '\' | '=' | '+'}.
columnName - the column value to return
nullgetValue(String)public String getValue(String columnName)
columnName in this DN/association.
For example, if this DN were IDU=1,table=USR,schema=IDM
and columnName were "IDU", this method would
return "1".
columnName - the column value to return
nullpublic String getTableName()
IDU=1,table=USR,schema=IDM,
this method would return "USR".
nullpublic String getSchemaName()
IDU=1,table=USR,schema=IDM,
this method would return "IDM".
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||