|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.xml.Locators
public class Locators
Utilities to handle Locator.
| Constructor Summary | |
|---|---|
Locators()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
format(java.lang.String message,
Locator loc)
Formats the message with the location information. |
static java.lang.String |
format(java.lang.String message,
org.xml.sax.Locator loc)
Formats the message with the location information. |
static java.lang.String |
format(java.lang.String message,
javax.xml.transform.SourceLocator loc)
Formats the message with the location information. |
static java.lang.String |
format(java.lang.String message,
java.lang.String pubId,
java.lang.String sysId,
int lineno,
int colno)
Formats the message with the location information. |
static Location |
toLocation(Locator loc)
Converts an instance of Locator to Location. |
static Location |
toLocation(org.xml.sax.Locator loc)
Converts an instance of Locator to Location. |
static Location |
toLocation(javax.xml.transform.SourceLocator loc)
Converts an instance of SourceLocator to Location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Locators()
| Method Detail |
|---|
public static java.lang.String format(java.lang.String message,
Locator loc)
loc - the location information. Ignored if null.
public static java.lang.String format(java.lang.String message,
org.xml.sax.Locator loc)
loc - the location information. Ignored if null.
public static java.lang.String format(java.lang.String message,
javax.xml.transform.SourceLocator loc)
loc - the location information. Ignored if null.
public static java.lang.String format(java.lang.String message,
java.lang.String pubId,
java.lang.String sysId,
int lineno,
int colno)
pubId - the public ID (ignored if null)sysId - the system ID (ignored if null)lineno - the line number (ignored if negative)colno - the line number (ignored if negative)public static Location toLocation(Locator loc)
Locator to Location.
If loc is null, this method returns null.
public static Location toLocation(org.xml.sax.Locator loc)
Locator to Location.
If loc is null, this method returns null.
public static Location toLocation(javax.xml.transform.SourceLocator loc)
SourceLocator to Location.
If loc is null, this method returns null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||