Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.spa.parser
Interface ThemeContentHandler
public interface ThemeContentHandlerCallback handler interface that is called by the parser to signal the semantical structure of the markup document. Only the dynamic content spots are signaled
- Since:
- 7.0
- Note:
This interface is designed to be implemented by clients.
Method Summary void characters(char[] ch, int start, int length)
Signals a character sequence that does not contain any important semantic.void endDocument()
Signaled after the parsing is complete.void endDynamicContentSpot()
Signals the end of a content spotvoid startDocument()
Signaled before any other event is thrown.void startDynamicContentSpot(java.net.URI uri, java.lang.String verb, java.util.Map<java.lang.String,java.lang.String[]> params, org.xml.sax.Attributes attrs)
Signals the start of a portlet container.
Method Detail characters
void characters(char[] ch, int start, int length) throws java.io.IOException
- Signals a character sequence that does not contain any important semantic. This array must not be modified by the handler and must not be referenced outside of this method. The parser is free to reuse the same buffer for multiple character sequences.
- Parameters:
- ch - backing character array
- start - position of the first character in the array
- length - length of the valid sequence.
- Throws:
- java.io.IOException
endDocument
void endDocument() throws java.io.IOException
- Signaled after the parsing is complete.
- Throws:
- java.io.IOException
endDynamicContentSpot
void endDynamicContentSpot() throws java.io.IOException
- Signals the end of a content spot
- Throws:
- java.io.IOException
startDocument
void startDocument() throws java.io.IOException
- Signaled before any other event is thrown. If the same handler instance is used multiple times each parsing process starts with this callback.
- Throws:
- java.io.IOException
startDynamicContentSpot
void startDynamicContentSpot(java.net.URI uri, java.lang.String verb, java.util.Map<java.lang.String,java.lang.String[]> params, org.xml.sax.Attributes attrs) throws java.io.IOException
- Signals the start of a portlet container.
- Parameters:
- name - name of the container, unique across the markup document
- attrs - optional attribute map
- Throws:
- java.io.IOException
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD