|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.xs.util.SimpleLocator
public class SimpleLocator
An XMLLocator implementation used for schema error reporting.
Constructor Summary | |
---|---|
SimpleLocator()
|
|
SimpleLocator(java.lang.String lsid,
java.lang.String esid,
int line,
int column)
|
|
SimpleLocator(java.lang.String lsid,
java.lang.String esid,
int line,
int column,
int offset)
|
Method Summary | |
---|---|
java.lang.String |
getBaseSystemId()
Returns the base system identifier. |
int |
getCharacterOffset()
Returns the character offset, or -1 if no character offset is available. |
int |
getColumnNumber()
Returns the column number, or -1 if no column number is available. |
java.lang.String |
getEncoding()
Returns the encoding of the current entity. |
java.lang.String |
getExpandedSystemId()
Returns the expanded system identifier. |
int |
getLineNumber()
Returns the line number, or -1 if no line number is available. |
java.lang.String |
getLiteralSystemId()
Returns the literal system identifier. |
java.lang.String |
getPublicId()
Returns the public identifier. |
java.lang.String |
getXMLVersion()
Returns the XML version of the current entity. |
void |
setBaseSystemId(java.lang.String systemId)
|
void |
setCharacterOffset(int offset)
|
void |
setColumnNumber(int col)
|
void |
setExpandedSystemId(java.lang.String systemId)
|
void |
setLineNumber(int line)
|
void |
setLiteralSystemId(java.lang.String systemId)
|
void |
setPublicId(java.lang.String publicId)
|
void |
setValues(java.lang.String lsid,
java.lang.String esid,
int line,
int column)
|
void |
setValues(java.lang.String lsid,
java.lang.String esid,
int line,
int column,
int offset)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleLocator()
public SimpleLocator(java.lang.String lsid, java.lang.String esid, int line, int column)
public SimpleLocator(java.lang.String lsid, java.lang.String esid, int line, int column, int offset)
Method Detail |
---|
public void setValues(java.lang.String lsid, java.lang.String esid, int line, int column)
public void setValues(java.lang.String lsid, java.lang.String esid, int line, int column, int offset)
public int getLineNumber()
XMLLocator
-1
if no line number is available.
getLineNumber
in interface XMLLocator
public int getColumnNumber()
XMLLocator
-1
if no column number is available.
getColumnNumber
in interface XMLLocator
public int getCharacterOffset()
XMLLocator
-1
if no character offset is available.
getCharacterOffset
in interface XMLLocator
public java.lang.String getPublicId()
XMLLocator
getPublicId
in interface XMLLocator
public java.lang.String getExpandedSystemId()
XMLLocator
getExpandedSystemId
in interface XMLLocator
public java.lang.String getLiteralSystemId()
XMLLocator
getLiteralSystemId
in interface XMLLocator
public java.lang.String getBaseSystemId()
XMLLocator
getBaseSystemId
in interface XMLLocator
public void setColumnNumber(int col)
public void setLineNumber(int line)
public void setCharacterOffset(int offset)
public void setBaseSystemId(java.lang.String systemId)
XMLResourceIdentifier.setBaseSystemId(String)
public void setExpandedSystemId(java.lang.String systemId)
XMLResourceIdentifier.setExpandedSystemId(String)
public void setLiteralSystemId(java.lang.String systemId)
XMLResourceIdentifier.setLiteralSystemId(String)
public void setPublicId(java.lang.String publicId)
XMLResourceIdentifier.setPublicId(String)
public java.lang.String getEncoding()
getEncoding
in interface XMLLocator
public java.lang.String getXMLVersion()
XMLLocator
getXMLVersion
in interface XMLLocator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |