Save This Page
Home » Xerces-J-src.2.9.1 » org.apache.xerces » impl » xs » util » [javadoc | source]
org.apache.xerces.impl.xs.util
public class: SimpleLocator [javadoc | source]
java.lang.Object
   org.apache.xerces.impl.xs.util.SimpleLocator

All Implemented Interfaces:
    XMLLocator

An XMLLocator implementation used for schema error reporting.
Field Summary
 String lsid     
 String esid     
 int line     
 int column     
 int charOffset     
Constructor:
 public SimpleLocator() 
 public SimpleLocator(String lsid,
    String esid,
    int line,
    int column) 
 public SimpleLocator(String lsid,
    String esid,
    int line,
    int column,
    int offset) 
Method from org.apache.xerces.impl.xs.util.SimpleLocator Summary:
getBaseSystemId,   getCharacterOffset,   getColumnNumber,   getEncoding,   getExpandedSystemId,   getLineNumber,   getLiteralSystemId,   getPublicId,   getXMLVersion,   setBaseSystemId,   setCharacterOffset,   setColumnNumber,   setExpandedSystemId,   setLineNumber,   setLiteralSystemId,   setPublicId,   setValues,   setValues
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xerces.impl.xs.util.SimpleLocator Detail:
 public String getBaseSystemId() 
 public int getCharacterOffset() 
 public int getColumnNumber() 
 public String getEncoding() 
    Returns the encoding of the current entity. Since these locators are used in the construction of XMLParseExceptions, which know nothing about encodings, there is no point in having this object deal intelligently with encoding information.
 public String getExpandedSystemId() 
 public int getLineNumber() 
 public String getLiteralSystemId() 
 public String getPublicId() 
 public String getXMLVersion() 
 public  void setBaseSystemId(String systemId) 
 public  void setCharacterOffset(int offset) 
 public  void setColumnNumber(int col) 
 public  void setExpandedSystemId(String systemId) 
 public  void setLineNumber(int line) 
 public  void setLiteralSystemId(String systemId) 
 public  void setPublicId(String publicId) 
 public  void setValues(String lsid,
    String esid,
    int line,
    int column) 
 public  void setValues(String lsid,
    String esid,
    int line,
    int column,
    int offset)