|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EngineURL
The EngineURL
is a URL that may contain navigational state of
the portal engine and all portlets on the page.
Via the writeCopy
and writeRelease
methods the URL
can be written to a stream. writeRelease
should be used wherever
possible as this methods has a smaller performance impact than
writeCopy
. The EngineURL
should be disposed if it
is no longer used by calling the dispose()
method. The
writeRelease
however writes the URL to a stream and disposes it
in one single step, so if writeRelease
is called, the object
must not be disposed additionally.
Method Summary | |
---|---|
void |
addFragmentID(java.lang.String value)
Sets a fragment identifier for this engine URL. |
StateHolderController |
getState()
Returns the state represented by this URL object in a modifiable way. |
void |
setProtected(java.lang.Boolean bFlag)
Indicates if the URL points to the private pages in WP or to the public page. |
void |
setSecure(java.lang.Boolean bFlag)
Indicates the security setting for this URL. |
java.lang.String |
toString()
Creates a URL representation of the URL. |
java.io.Writer |
writeCopy(java.io.Writer out)
Streams the state represented by this URL object to a writer and invokes the postprocessors first on the content of the engine URL. |
java.io.Writer |
writeCopy(java.io.Writer out,
boolean bEscapeXML)
Streams the state represented by this URL object to a writer and invokes the postprocessors first on the content of the engine URL. |
java.io.Writer |
writeDispose(java.io.Writer out)
Streams the state represented by this URL object to a writer and invokes the postprocessors first on the content of the engine URL. |
java.io.Writer |
writeDispose(java.io.Writer out,
boolean bEscapeXML)
Streams the state represented by this URL object to a writer and invokes the postprocessors first on the content of the engine URL. |
Methods inherited from interface com.ibm.portal.URL |
---|
write |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
void addFragmentID(java.lang.String value)
value
- The name of the anchor we are referencing with this generated
URLStateHolderController getState()
void setProtected(java.lang.Boolean bFlag)
bFlag
- true, if the URL should point to the private areavoid setSecure(java.lang.Boolean bFlag)
bFlag
- true, if portlet requests to have a secure connection between
its portlet window and the client; false, if the portlet does
not require a secure connection.java.lang.String toString()
toString
in interface DisposableURL
toString
in class java.lang.Object
java.io.Writer writeCopy(java.io.Writer out) throws java.io.IOException, OutputMediatorException, PostProcessorException, DocumentModelException
writeCopy
in interface DisposableURL
out
- Destination stream that receives the character representation
of the URL (must not be null)
java.io.IOException
- - error on the underlying streams
OutputMediatorException
- - error during the serialization operation
DocumentModelException
- - if the temporary copy of the state could not be created
PostProcessorException
- - if the post processing step failedjava.io.Writer writeCopy(java.io.Writer out, boolean bEscapeXML) throws java.io.IOException, OutputMediatorException, PostProcessorException, DocumentModelException
out
- Destination stream that receives the character representation
of the URL (must not be null)bEscapeXML
- if true
the URL will be written as if it was XML
markup (e.g. & signs will be written as &), if
false
the URL will be written as URL
java.io.IOException
- - error on the underlying streams
OutputMediatorException
- - error during the serialization operation
DocumentModelException
- - if the temporary copy of the state could not be created
PostProcessorException
- - if the post processing step failedjava.io.Writer writeDispose(java.io.Writer out) throws java.io.IOException, OutputMediatorException, PostProcessorException
writeDispose
in interface DisposableURL
out
- Destination stream that receives the character representation
of the URL (must not be null)
java.io.IOException
- - error on the underlying streams
OutputMediatorException
- - error during the serialization operation
PostProcessorException
- - if the post processing step failedjava.io.Writer writeDispose(java.io.Writer out, boolean bEscapeXML) throws java.io.IOException, OutputMediatorException, PostProcessorException
out
- Destination stream that receives the character representation
of the URL (must not be null)bEscapeXML
- if true
the URL will be written as if it was XML
markup (e.g. & signs will be written as &), if
false
the URL will be written as URL
java.io.IOException
- - error on the underlying streams
OutputMediatorException
- - error during the serialization operation
PostProcessorException
- - if the post processing step failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |