|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.lib.sql.ExtensionError
**Experimental**
A base class that will convert an exception into an XML stream that can be returned in place of the standard result. The XML format returned is a follows.
<ext-error> <exception-info> <message> Message from the Exception thrown </message> <exception-info> If another class subclasses this class, there will be an opportunity to add specific information here. Each Extension class should implement their own specific Extension Error class.
Constructor Summary | |
ExtensionError()
|
|
ExtensionError(java.lang.Exception err)
**Experimental** Initialize an error with the base exception and extrace the relavent information. |
Method Summary | |
java.lang.Object |
clone()
|
NodeIterator |
cloneWithReset()
|
void |
detach()
|
Node |
getCurrentNode()
|
int |
getCurrentPos()
|
boolean |
getExpandEntityReferences()
The value of this flag determines whether the children of entity reference nodes are visible to the iterator. |
NodeFilter |
getFilter()
The filter used to screen nodes. |
int |
getLast()
|
Node |
getRoot()
|
int |
getWhatToShow()
This attribute determines which node types are presented via the iterator. |
boolean |
isFresh()
|
Node |
nextNode()
Return the #Document node (one role the XStatement plays) the first time called; return null thereafter. |
Node |
previousNode()
|
void |
reset()
|
void |
runTo(int index)
|
void |
setCurrentPos(int i)
|
void |
setLast(int last)
|
void |
setShouldCacheNodes(boolean b)
|
int |
size()
|
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ExtensionError()
public ExtensionError(java.lang.Exception err)
Method Detail |
public Node getRoot()
public int getWhatToShow()
NodeFilter
interface.public NodeFilter getFilter()
public boolean getExpandEntityReferences()
public Node nextNode() throws DOMException
public Node previousNode() throws DOMException
public void detach()
public Node getCurrentNode()
public int getCurrentPos()
public void reset()
public void setShouldCacheNodes(boolean b)
public void runTo(int index)
public void setCurrentPos(int i)
public int size()
public boolean isFresh()
public NodeIterator cloneWithReset() throws java.lang.CloneNotSupportedException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public int getLast()
public void setLast(int last)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |