Code example for Locator

Methods: getPublicId

0
     * XMLLocator methods 
     */ 
     
    public String getPublicId() {
        if (fLocator != null) {
            return fLocator.getPublicId();
        } 
        return null; 
    } 
     
    public String getLiteralSystemId() {
        if (fLocator != null) {
            return fLocator.getSystemId();
        } 
        return null; 
    } 
 
    public String getBaseSystemId() {
        return null; 
    }