public class XSLTemplateResource
extends Object
implements com.liferay.portal.kernel.template.TemplateResource
Constructor and Description |
---|
XSLTemplateResource()
The empty constructor is required by
Externalizable . |
XSLTemplateResource(String templateId,
String xsl,
XSLURIResolver xslURIResolver,
String xml) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getLastModified() |
Reader |
getReader() |
String |
getTemplateId() |
Reader |
getXMLReader() |
XSLURIResolver |
getXSLURIResolver() |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
void |
writeExternal(ObjectOutput objectOutput) |
public XSLTemplateResource()
Externalizable
. Do
not use this for any other purpose.public XSLTemplateResource(String templateId, String xsl, XSLURIResolver xslURIResolver, String xml)
public boolean equals(Object obj)
equals
in class Object
public long getLastModified()
getLastModified
in interface com.liferay.portal.kernel.template.TemplateResource
public Reader getReader()
getReader
in interface com.liferay.portal.kernel.template.TemplateResource
public String getTemplateId()
getTemplateId
in interface com.liferay.portal.kernel.template.TemplateResource
public Reader getXMLReader()
public XSLURIResolver getXSLURIResolver()
public int hashCode()
hashCode
in class Object
public void readExternal(ObjectInput objectInput) throws ClassNotFoundException, IOException
readExternal
in interface Externalizable
ClassNotFoundException
IOException
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException