|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.simonstl.gorille.DocProcImpl
DocProcImpl is a blank handler.
| Field Summary | |
protected ContextI |
context
|
protected DocProcI |
listener
|
| Constructor Summary | |
DocProcImpl()
|
|
| Method Summary | |
java.lang.StringBuffer |
attEndQuote(java.lang.StringBuffer content)
Reports the end quote type of an attribute described by the current tag. |
java.lang.StringBuffer |
attEquals(java.lang.StringBuffer content)
Reports when the equals sign in an attribute name/value pair is encountered. |
java.lang.StringBuffer |
attName(java.lang.StringBuffer content)
Reports the name of an attribute described by the current tag. |
java.lang.StringBuffer |
attStartQuote(java.lang.StringBuffer content)
Reports the start quote type of an attribute described by the current tag. |
java.lang.StringBuffer |
CDATAEnd(java.lang.StringBuffer content)
Reports that a CDATA section has ended. |
java.lang.StringBuffer |
CDATAStart(java.lang.StringBuffer content)
Reports that a CDATA section has started. |
java.lang.StringBuffer |
chars(java.lang.StringBuffer content)
Reports raw textual content contained by elements or attributes. |
java.lang.StringBuffer |
commentContent(java.lang.StringBuffer content)
Reports comment contents. |
java.lang.StringBuffer |
commentEnd(java.lang.StringBuffer content)
Reports comments. |
java.lang.StringBuffer |
commentStart(java.lang.StringBuffer content)
Reports the beginning of comments. |
java.lang.StringBuffer |
decCharRef(java.lang.StringBuffer content)
Reports decimal character references. |
java.lang.StringBuffer |
DOCTYPE(java.lang.StringBuffer content)
Reports the DOCTYPE declaration, if one is present.. |
java.lang.StringBuffer |
elementName(java.lang.StringBuffer content)
Reports the name of the element described by the current tag. |
java.lang.StringBuffer |
endElementCTag(java.lang.StringBuffer content)
Indicates that the parser has ended reading a closing tag. |
java.lang.StringBuffer |
endElementETag(java.lang.StringBuffer content)
Indicates that the parser has ended reading an empty tag. |
java.lang.StringBuffer |
endElementOTag(java.lang.StringBuffer content)
Indicates that the parser has ended reading an open tag. |
java.lang.StringBuffer |
entRef(java.lang.StringBuffer content)
Reports entity references. |
GorilleException |
error(GorilleException e)
A conduit for error messages |
GorilleException |
fatalError(GorilleException e)
A conduit for fatal error messages |
DocProcI |
getChainListener()
getChainListener() lets you find out which object is getting events from this processor. |
ContextI |
getContext()
getContext() is useful if you need to chain one processor to another and connect the contexts. |
java.lang.StringBuffer |
hexCharRef(java.lang.StringBuffer content)
Reports hexadecimal character references. |
java.lang.StringBuffer |
PIData(java.lang.StringBuffer content)
Reports the data in a processing instruction. |
java.lang.StringBuffer |
PIEnd(java.lang.StringBuffer content)
Reports that a processing instruction has ended. |
java.lang.StringBuffer |
PISpace(java.lang.StringBuffer content)
Reports the whitespace between a processing instruction's target and its data. |
java.lang.StringBuffer |
PIStart(java.lang.StringBuffer content)
Reports that a processing instruction has started. |
java.lang.StringBuffer |
PITarget(java.lang.StringBuffer content)
Reports a processing instruction target. |
void |
setChainListener(DocProcI listener)
setChainListener() lets you set a processor which will receive the events from this processor before the information is returned to the original filter. |
void |
setContext(ContextI context)
setContext() connects this processor to a particular context object coming from the parser. |
java.lang.StringBuffer |
startElementCTag(java.lang.StringBuffer content)
Indicates that the parser has begun reading a closing tag. |
java.lang.StringBuffer |
startElementOTag(java.lang.StringBuffer content)
Indicates that the parser has begun reading an open or empty tag. |
java.lang.StringBuffer |
tagSpace(java.lang.StringBuffer content)
Reports whitespace inside of start, end, and empty tags, except whitespace contained in attribute values. |
GorilleException |
warning(GorilleException e)
A conduit for warning messages |
java.lang.StringBuffer |
XMLdecl(java.lang.StringBuffer content)
Reports the XML declaration, if one is present. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ContextI context
protected DocProcI listener
| Constructor Detail |
public DocProcImpl()
| Method Detail |
public void setContext(ContextI context)
DocProcI
setContext in interface DocProcIpublic ContextI getContext()
DocProcI
getContext in interface DocProcIpublic void setChainListener(DocProcI listener)
DocProcI
setChainListener in interface DocProcIpublic DocProcI getChainListener()
DocProcI
getChainListener in interface DocProcI
public java.lang.StringBuffer XMLdecl(java.lang.StringBuffer content)
throws GorilleException
XMLdecl in interface DocProcIGorilleException
public java.lang.StringBuffer DOCTYPE(java.lang.StringBuffer content)
throws GorilleException
DocProcI
DOCTYPE in interface DocProcIGorilleException
public java.lang.StringBuffer startElementOTag(java.lang.StringBuffer content)
throws GorilleException
DocProcI
startElementOTag in interface DocProcIGorilleException
public java.lang.StringBuffer startElementCTag(java.lang.StringBuffer content)
throws GorilleException
DocProcI
startElementCTag in interface DocProcIGorilleException
public java.lang.StringBuffer elementName(java.lang.StringBuffer content)
throws GorilleException
DocProcI
elementName in interface DocProcIGorilleException
public java.lang.StringBuffer tagSpace(java.lang.StringBuffer content)
throws GorilleException
DocProcI
tagSpace in interface DocProcIGorilleException
public java.lang.StringBuffer attName(java.lang.StringBuffer content)
throws GorilleException
DocProcI
attName in interface DocProcIGorilleException
public java.lang.StringBuffer attEquals(java.lang.StringBuffer content)
throws GorilleException
DocProcI
attEquals in interface DocProcIGorilleException
public java.lang.StringBuffer attStartQuote(java.lang.StringBuffer content)
throws GorilleException
DocProcI
attStartQuote in interface DocProcIGorilleException
public java.lang.StringBuffer attEndQuote(java.lang.StringBuffer content)
throws GorilleException
DocProcI
attEndQuote in interface DocProcIGorilleException
public java.lang.StringBuffer endElementOTag(java.lang.StringBuffer content)
throws GorilleException
DocProcI
endElementOTag in interface DocProcIGorilleException
public java.lang.StringBuffer endElementETag(java.lang.StringBuffer content)
throws GorilleException
DocProcI
endElementETag in interface DocProcIGorilleException
public java.lang.StringBuffer endElementCTag(java.lang.StringBuffer content)
throws GorilleException
DocProcI
endElementCTag in interface DocProcIGorilleException
public java.lang.StringBuffer chars(java.lang.StringBuffer content)
throws GorilleException
DocProcI
chars in interface DocProcIGorilleException
public java.lang.StringBuffer decCharRef(java.lang.StringBuffer content)
throws GorilleException
DocProcI
decCharRef in interface DocProcIGorilleException
public java.lang.StringBuffer hexCharRef(java.lang.StringBuffer content)
throws GorilleException
DocProcI
hexCharRef in interface DocProcIGorilleException
public java.lang.StringBuffer entRef(java.lang.StringBuffer content)
throws GorilleException
DocProcI
entRef in interface DocProcIGorilleException
public java.lang.StringBuffer commentStart(java.lang.StringBuffer content)
throws GorilleException
DocProcI
public java.lang.StringBuffer commentContent(java.lang.StringBuffer content)
throws GorilleException
DocProcI
commentContent in interface DocProcIGorilleException
public java.lang.StringBuffer commentEnd(java.lang.StringBuffer content)
throws GorilleException
DocProcI
commentEnd in interface DocProcIGorilleException
public java.lang.StringBuffer PIStart(java.lang.StringBuffer content)
throws GorilleException
DocProcI
PIStart in interface DocProcIGorilleException
public java.lang.StringBuffer PITarget(java.lang.StringBuffer content)
throws GorilleException
DocProcI
PITarget in interface DocProcIGorilleException
public java.lang.StringBuffer PISpace(java.lang.StringBuffer content)
throws GorilleException
DocProcI
PISpace in interface DocProcIGorilleException
public java.lang.StringBuffer PIData(java.lang.StringBuffer content)
throws GorilleException
DocProcI
PIData in interface DocProcIGorilleException
public java.lang.StringBuffer PIEnd(java.lang.StringBuffer content)
throws GorilleException
DocProcI
PIEnd in interface DocProcIGorilleException
public java.lang.StringBuffer CDATAStart(java.lang.StringBuffer content)
throws GorilleException
DocProcI
CDATAStart in interface DocProcIGorilleException
public java.lang.StringBuffer CDATAEnd(java.lang.StringBuffer content)
throws GorilleException
DocProcI
CDATAEnd in interface DocProcIGorilleException
public GorilleException warning(GorilleException e)
throws GorilleException
DocProcI
warning in interface DocProcIGorilleException
public GorilleException error(GorilleException e)
throws GorilleException
DocProcI
error in interface DocProcIGorilleException
public GorilleException fatalError(GorilleException e)
throws GorilleException
DocProcI
fatalError in interface DocProcIGorilleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||