|
DimDom v0.8.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.alltimeflashdreamer.dimdom.AbstractXHTMLSiteData
Title: AbstractXHTMLSiteData
Description: This is the superclass of each DOM processor using DimDom's own
processing mechanism. This means that it works together tightly with the
DimDomNodeImpl class which has a set of package protected methods, visible
for e.g. this class.
Field Summary | |
protected Vector |
vDimDomNodeImpls
the ordered list of DimDomNodeImpl objects |
Constructor Summary | |
AbstractXHTMLSiteData()
|
Method Summary | |
String |
getIdentifier()
Returns a string that describes the XHTML source. |
DimDomNode |
getNextDimDomNode()
Returns the next implementing object of the DimDomNode interface, to allow the DimDom engine to process the next node (or the next clone of a micro-template node). |
String |
getString()
Returns the source string to be parsed. |
String |
getTemplateFileName()
Returns the file name of the template file to be parsed. |
URL |
getURL()
Returns the source URL to parse from. |
abstract String |
getXHTMLDocumentClassName()
(is abstract to be implemented by the extending class) |
protected boolean |
hasMoreDimDomNodeImpls()
Returns whether there are more DimDomNode implementing instances in the pipeline or not. |
protected boolean |
isFileSource()
Returns whether the input source is (currently) a file or not. |
protected boolean |
isStringSource()
Returns whether the input source is (currently) just a string or not. |
protected boolean |
isURLSource()
Returns whether the input source is (currently) an URL or not. |
void |
setString(String sInput)
Sets the internal string value and unsets the others. |
void |
setTemplateFilename(String sTemplateFilename)
Sets the internal template file name value and the others. |
void |
setURL(URL url)
Sets the internal URL value and unsets the others. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected Vector vDimDomNodeImpls
Constructor Detail |
public AbstractXHTMLSiteData()
Method Detail |
public String getIdentifier()
getIdentifier
in interface XHTMLSiteData
public abstract String getXHTMLDocumentClassName()
getXHTMLDocumentClassName
in interface XHTMLSiteData
public DimDomNode getNextDimDomNode()
getNextDimDomNode
in interface XHTMLSiteData
public String getString()
getString
in interface XHTMLSiteData
public String getTemplateFileName()
getTemplateFileName
in interface XHTMLSiteData
public URL getURL()
getURL
in interface XHTMLSiteData
public void setTemplateFilename(String sTemplateFilename)
sTemplateFilename
- the name of the template file to be parsedpublic void setURL(URL url)
url
- the URL of the URL to be parsedpublic void setString(String sInput)
sInput
- the string to be parsedprotected boolean isFileSource()
protected boolean isStringSource()
protected boolean isURLSource()
protected boolean hasMoreDimDomNodeImpls()
|
Copyright (c) 2001/02 by Florian Steinsiepe | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |