|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.instruct.InstructionDetails
public final class InstructionDetails
Details about an instruction, used when reporting errors and when tracing
| Constructor Summary | |
|---|---|
InstructionDetails()
|
|
| Method Summary | |
|---|---|
int |
getColumnNumber()
Get the column number identifying the position of the instruction. |
String |
getInstructionName()
Get the name of the instruction |
int |
getLineNumber()
Get the line number of the instruction within its module |
HashMap |
getProperties()
Get all the properties of the instruction |
Object |
getProperty(String name)
Get a named property of the instruction |
String |
getPublicId()
Get the public ID of the module containing the instruction. |
String |
getSystemId()
Get the URI of the module containing the instruction |
void |
setInstructionName(String instructionName)
Set the name of the instruction |
void |
setLineNumber(int lineNumber)
Set the line number of the instruction within the module |
void |
setProperty(String name,
Object value)
Set a named property of the instruction |
void |
setSystemId(String systemId)
Set the URI of the module containing the instruction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstructionDetails()
| Method Detail |
|---|
public void setSystemId(String systemId)
systemId - the module's URIpublic String getSystemId()
getSystemId in interface SourceLocatorgetSystemId in interface InstructionInfopublic void setLineNumber(int lineNumber)
lineNumber - the line numberpublic int getLineNumber()
getLineNumber in interface SourceLocatorgetLineNumber in interface InstructionInfopublic void setInstructionName(String instructionName)
instructionName - the name of the instruction. This is a conventional name, it has the form
of a QName but the prefix chosen is arbitrarypublic String getInstructionName()
getInstructionName in interface InstructionInfo
public void setProperty(String name,
Object value)
public Object getProperty(String name)
getProperty in interface InstructionInfoname - The name of the required property
public String getPublicId()
getPublicId in interface SourceLocatorpublic int getColumnNumber()
getColumnNumber in interface SourceLocatorpublic HashMap getProperties()
getProperties in interface InstructionInfo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||