|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.markup.MarkupResourceStream
public class MarkupResourceStream
An IResourceStream implementation with specific extensions for markup resource streams.
| Field Summary | |
|---|---|
static String |
WICKET_XHTML_DTD
|
| Constructor Summary | |
|---|---|
MarkupResourceStream(IResourceStream resourceStream)
Construct. |
|
MarkupResourceStream(IResourceStream resourceStream,
ContainerInfo containerInfo,
Class<?> markupClass)
Construct. |
|
| Method Summary | |
|---|---|
void |
close()
|
Markup |
getBaseMarkup()
In case of markup inheritance, the base markup resource. |
MarkupResourceStream |
getBaseMarkupResourceStream()
Get the resource stream containing the base markup (markup inheritance) |
String |
getCacheKey()
Gets cacheKey. |
ContainerInfo |
getContainerInfo()
Get the container info associated with the markup |
String |
getContentType()
|
String |
getDoctype()
Gets doctype. |
String |
getEncoding()
Gets the markup encoding. |
InputStream |
getInputStream()
|
Locale |
getLocale()
|
Class<? extends Component> |
getMarkupClass()
Get the actual component class the markup is directly associated with. |
IResourceStream |
getResource()
Gets the resource that contains this markup |
String |
getStyle()
|
String |
getVariation()
|
String |
getWicketId()
|
String |
getWicketNamespace()
Get the wicket namespace valid for this specific markup |
boolean |
isHtml5()
|
Time |
lastModifiedTime()
|
Bytes |
length()
|
String |
locationAsString()
|
void |
setBaseMarkup(Markup baseMarkup)
In case of markup inheritance, the base markup. |
void |
setCacheKey(String cacheKey)
Set the cache key |
void |
setDoctype(CharSequence doctype)
Sets doctype. |
void |
setLocale(Locale locale)
|
void |
setStyle(String style)
|
void |
setVariation(String variation)
|
void |
setWicketNamespace(String wicketNamespace)
Sets wicketNamespace. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String WICKET_XHTML_DTD
| Constructor Detail |
|---|
public MarkupResourceStream(IResourceStream resourceStream)
resourceStream -
public MarkupResourceStream(IResourceStream resourceStream,
ContainerInfo containerInfo,
Class<?> markupClass)
resourceStream - containerInfo - markupClass - | Method Detail |
|---|
public String locationAsString()
locationAsString in interface IFixedLocationResourceStream
public void close()
throws IOException
close in interface Closeableclose in interface IResourceStreamIOExceptionpublic String getContentType()
getContentType in interface IResourceStream
public InputStream getInputStream()
throws ResourceStreamNotFoundException
getInputStream in interface IResourceStreamResourceStreamNotFoundExceptionpublic Locale getLocale()
getLocale in interface IResourceStreampublic Time lastModifiedTime()
lastModifiedTime in interface IModifiablepublic Bytes length()
length in interface IResourceStreampublic void setLocale(Locale locale)
setLocale in interface IResourceStreampublic Class<? extends Component> getMarkupClass()
public ContainerInfo getContainerInfo()
public final String getCacheKey()
public final void setCacheKey(String cacheKey)
cacheKey - public IResourceStream getResource()
public String getEncoding()
public String getWicketNamespace()
public final String getWicketId()
public final void setWicketNamespace(String wicketNamespace)
wicketNamespace - wicketNamespacepublic MarkupResourceStream getBaseMarkupResourceStream()
public void setBaseMarkup(Markup baseMarkup)
baseMarkup - The base markuppublic Markup getBaseMarkup()
public String getStyle()
getStyle in interface IResourceStreampublic String getVariation()
getVariation in interface IResourceStreampublic void setStyle(String style)
setStyle in interface IResourceStreampublic void setVariation(String variation)
setVariation in interface IResourceStreampublic String toString()
toString in class Objectpublic final String getDoctype()
public final void setDoctype(CharSequence doctype)
doctype - doctypepublic boolean isHtml5()
http://www.w3.org/TR/html5-diff/#doctype
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||