|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StaticPageContentHandler
Callback handler interface that is called by the parser to signal the semantical structure of the markup document. Only those tags that are important for SPA are signaled.
This interface is designed to be implemented by clients. |
Field Summary | |
---|---|
static java.lang.String |
ATTR_SCOPE
Name of the attribute that identifies the scope in which a container or window are rendered. |
static java.lang.String |
ATTR_SKIN
Name of the attribute that identifies the skin |
static java.lang.String |
IWIDGET_DEFINITION
indicator that a control is an iWidget |
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 |
endPortletContainer(java.lang.String name)
Signals the end of a portlet container. |
void |
endPortletWindow(java.lang.String name)
Signals the end of a portlet window. |
void |
startDocument(boolean bIsPageEmbedType)
Signaled before any other event is thrown. |
void |
startPortletContainer(java.lang.String name,
org.xml.sax.Attributes attrs)
Signals the start of a portlet container. |
org.xml.sax.ContentHandler |
startPortletWindow(java.lang.String name,
java.lang.String definition,
org.xml.sax.Attributes attrs)
Signals the start of a portlet window (or a different type of control). |
Field Detail |
---|
static final java.lang.String ATTR_SCOPE
static final java.lang.String IWIDGET_DEFINITION
static final java.lang.String ATTR_SKIN
Method Detail |
---|
void characters(char[] ch, int start, int length) throws java.io.IOException
ch
- backing character arraystart
- position of the first character in the arraylength
- length of the valid sequence.
java.io.IOException
void endDocument() throws java.io.IOException
java.io.IOException
void endPortletContainer(java.lang.String name) throws java.io.IOException
name
- name of the container, unique across the markup document
java.io.IOException
void endPortletWindow(java.lang.String name) throws java.io.IOException
name
- name of the window, unique across the markup document
java.io.IOException
void startDocument(boolean bIsPageEmbedType) throws java.io.IOException
bIsPageEmbedType
- true, if the parsed file contains html element. Otherwise
return false.
java.io.IOException
void startPortletContainer(java.lang.String name, org.xml.sax.Attributes attrs) throws java.io.IOException
name
- name of the container, unique across the markup documentattrs
- optional attribute map
java.io.IOException
org.xml.sax.ContentHandler startPortletWindow(java.lang.String name, java.lang.String definition, org.xml.sax.Attributes attrs) throws java.io.IOException
IWIDGET_DEFINITION
. The microformat is passed on to the
ContentHandler
that is returned by the method.
List of known attributes:
name
- name of the window, unique across the markup documentdefinition
- identification of the portlet definition.attrs
- optional attribute map
ContentHandler
that receives events that
describe the payload of the window.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |