|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StaticPageContentHandlerEx
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 |
---|
Fields inherited from interface com.ibm.portal.spa.parser.StaticPageContentHandler |
---|
ATTR_SCOPE, ATTR_SKIN, IWIDGET_DEFINITION |
Method Summary | |
---|---|
void |
anchorTag(java.lang.String url,
org.xml.sax.Attributes atts)
Called for the Constants#ATTR_HREF attribute of a
Constants#ELEMENT_A element. |
void |
baseTag(java.lang.String url,
org.xml.sax.Attributes atts)
Called for the Constants#ATTR_HREF attribute of a
Constants#ELEMENT_BASE element. |
void |
endBody()
Called right before the Constants#ELEMENT_BODY will be written. |
void |
endHead()
Called right before the Constants#ELEMENT_HEAD will be written. |
void |
imageTag(java.lang.String url,
org.xml.sax.Attributes atts)
Called for the Constants#ATTR_SRC attribute of a
Constants#ELEMENT_IMG element. |
void |
linkTag(java.lang.String url,
org.xml.sax.Attributes atts)
Called for the Constants#ATTR_HREF attribute of a
Constants#ELEMENT_LINK element. |
void |
metaTag(java.lang.String value,
org.xml.sax.Attributes atts)
Called for the Constants#ATTR_CONTENT attribute of a
Constants#ELEMENT_META element. |
void |
scriptTag(java.lang.String url,
org.xml.sax.Attributes atts)
Called for the Constants#ATTR_HREF attribute of a
Constants#ELEMENT_SCRIPT element. |
void |
startBody()
Called right after the Constants#ELEMENT_BODY element has been
started. |
void |
startHead()
Called right after the Constants#ELEMENT_HEAD element has been
started. |
void |
titleTag(java.lang.String title,
org.xml.sax.Attributes atts)
Called for the content of a Constants#ELEMENT_TITLE element. |
Methods inherited from interface com.ibm.portal.spa.parser.StaticPageContentHandler |
---|
characters, endDocument, endPortletContainer, endPortletWindow, startDocument, startPortletContainer, startPortletWindow |
Method Detail |
---|
void anchorTag(java.lang.String url, org.xml.sax.Attributes atts) throws java.io.IOException
Constants#ATTR_HREF
attribute of a
Constants#ELEMENT_A
element. An implementation can use the
StaticPageContentHandler.characters(char[], int, int)
method to
write a new escaped value. Without dispatching, the attribute in the
output will be empty.
url
- current value of the attribute in its escaped formatatts
- list of all available attributes
java.io.IOException
void baseTag(java.lang.String url, org.xml.sax.Attributes atts) throws java.io.IOException
Constants#ATTR_HREF
attribute of a
Constants#ELEMENT_BASE
element. An implementation can use the
StaticPageContentHandler.characters(char[], int, int)
method to
write a new escaped value. Without dispatching, the attribute in the
output will be empty.
url
- current value of the attribute in its escaped formatatts
- list of all available attributes
java.io.IOException
void endBody() throws java.io.IOException
Constants#ELEMENT_BODY
will be written.
Implementations can override this method to inject content before ending
the body.
java.io.IOException
void endHead() throws java.io.IOException
Constants#ELEMENT_HEAD
will be written.
Implementations can override this method to inject content before ending
the head.
java.io.IOException
void imageTag(java.lang.String url, org.xml.sax.Attributes atts) throws java.io.IOException
Constants#ATTR_SRC
attribute of a
Constants#ELEMENT_IMG
element. An implementation can use the
StaticPageContentHandler.characters(char[], int, int)
method to
write a new escaped value. Without dispatching, the attribute in the
output will be empty.
url
- current value of the attribute in its escaped formatatts
- list of all available attributes
java.io.IOException
void linkTag(java.lang.String url, org.xml.sax.Attributes atts) throws java.io.IOException
Constants#ATTR_HREF
attribute of a
Constants#ELEMENT_LINK
element. An implementation can use the
StaticPageContentHandler.characters(char[], int, int)
method to
write a new escaped value. Without dispatching, the attribute in the
output will be empty.
url
- current value of the attribute in its escaped formatatts
- list of all available attributes
java.io.IOException
void metaTag(java.lang.String value, org.xml.sax.Attributes atts) throws java.io.IOException
Constants#ATTR_CONTENT
attribute of a
Constants#ELEMENT_META
element. An implementation can use the
StaticPageContentHandler.characters(char[], int, int)
method to
write a new escaped value. Without dispatching, the attribute in the
output will be empty.
url
- current value of the attribute in its escaped formatatts
- list of all available attributes
java.io.IOException
void scriptTag(java.lang.String url, org.xml.sax.Attributes atts) throws java.io.IOException
Constants#ATTR_HREF
attribute of a
Constants#ELEMENT_SCRIPT
element. An implementation can use the
StaticPageContentHandler.characters(char[], int, int)
method to
write a new escaped value. Without dispatching, the attribute in the
output will be empty.
url
- current value of the attribute in its escaped formatatts
- list of all available attributes
java.io.IOException
void startBody() throws java.io.IOException
Constants#ELEMENT_BODY
element has been
started. Implementations can override this method to inject content after
the body.
java.io.IOException
void startHead() throws java.io.IOException
Constants#ELEMENT_HEAD
element has been
started. Implementations can override this method to inject content after
the body.
java.io.IOException
void titleTag(java.lang.String title, org.xml.sax.Attributes atts) throws java.io.IOException
Constants#ELEMENT_TITLE
element. An
implementation can use the
StaticPageContentHandler.characters(char[], int, int)
method to
write a new escaped value. Without dispatching, the value in the output
will be empty.
title
- current value of the content in its escaped formatatts
- list of all available attributes
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |