Modifier and Type | Field and Description |
---|---|
pack-priv int | |
pack-priv int | |
pack-priv String | |
pack-priv int | |
pack-priv String |
Access | Constructor and Description |
---|---|
public | |
public | |
public |
Modifier and Type | Method and Description |
---|---|
public String | getBaseSystemId()
Implements com. |
public int | getCharacterOffset()
Implements com. -1 if no character offset is available.
|
public int | getColumnNumber()
Implements com. -1 if no column number is available.
|
public String | getEncoding()
Implements com. |
public String | getExpandedSystemId()
Implements com. |
public int | getLineNumber()
Implements com. -1 if no line number is available.
|
public String | getLiteralSystemId()
Implements com. |
public String | getPublicId()
Implements com. |
public String | getXMLVersion()
Implements com. |
public void | |
public void | |
public void | |
public void | |
public void | |
public void | |
public void | |
public void | |
public void |
charOffset | back to summary |
---|---|
pack-priv int charOffset |
column | back to summary |
---|---|
pack-priv int column |
esid | back to summary |
---|---|
pack-priv String esid |
line | back to summary |
---|---|
pack-priv int line |
lsid | back to summary |
---|---|
pack-priv String lsid |
SimpleLocator | back to summary |
---|---|
public SimpleLocator() |
SimpleLocator | back to summary |
---|---|
public SimpleLocator(String lsid, String esid, int line, int column) |
SimpleLocator | back to summary |
---|---|
public SimpleLocator(String lsid, String esid, int line, int column, int offset) |
getBaseSystemId | back to summary |
---|---|
public String getBaseSystemId() Implements com. Doc from com. Returns the base system identifier. |
getCharacterOffset | back to summary |
---|---|
public int getCharacterOffset() Implements com. Doc from com. Returns the character offset, or |
getColumnNumber | back to summary |
---|---|
public int getColumnNumber() Implements com. Doc from com. Returns the column number, or |
getEncoding | back to summary |
---|---|
public String getEncoding() Implements com. 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. |
getExpandedSystemId | back to summary |
---|---|
public String getExpandedSystemId() Implements com. Doc from com. Returns the expanded system identifier. |
getLineNumber | back to summary |
---|---|
public int getLineNumber() Implements com. Doc from com. Returns the line number, or |
getLiteralSystemId | back to summary |
---|---|
public String getLiteralSystemId() Implements com. Doc from com. Returns the literal system identifier. |
getPublicId | back to summary |
---|---|
public String getPublicId() Implements com. Doc from com. Returns the public identifier. |
getXMLVersion | back to summary |
---|---|
public String getXMLVersion() Implements com. Doc from com. Returns the XML version of the current entity. This will normally be the value from the XML or text declaration or defaulted by the parser. Note that that this value may be different than the version of the processing rules applied to the current entity. For instance, an XML 1.1 document may refer to XML 1.0 entities. In such a case the rules of XML 1.1 are applied to the entire document. Also note that, for a given entity, this value can only be considered final once the XML or text declaration has been read or once it has been determined that there is no such declaration. |
setBaseSystemId | back to summary |
---|---|
public void setBaseSystemId(String systemId) |
setCharacterOffset | back to summary |
---|---|
public void setCharacterOffset(int offset) |
setColumnNumber | back to summary |
---|---|
public void setColumnNumber(int col) |
setExpandedSystemId | back to summary |
---|---|
public void setExpandedSystemId(String systemId) |
setLineNumber | back to summary |
---|---|
public void setLineNumber(int line) |
setLiteralSystemId | back to summary |
---|---|
public void setLiteralSystemId(String systemId) |
setPublicId | back to summary |
---|---|
public void setPublicId(String publicId) |
setValues | back to summary |
---|---|
public void setValues(String lsid, String esid, int line, int column) |
setValues | back to summary |
---|---|
public void setValues(String lsid, String esid, int line, int column, int offset) |