|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
wxtpages.unit
wxtpages.unitRSSContent
This class handles RSS-feeds, RSS 2.0. Instances of unitRSSContent are treated as unitContent instances as seen from page and group.
Field Summary |
Fields inherited from class wxtpages.unit |
m_absoluteUri, m_description, m_Doc, m_GroupMaster, m_lastTimeUsed, m_myElement, m_name, m_optionMap, m_originalUri, m_parameterMap, m_propertyMap, m_txtContent, m_type |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
unitRSSContent(unitGroup master,
org.w3c.dom.Element elt,
unit owner)
Creates a new instance of unitRSSContent |
Method Summary | |
protected boolean |
establishDom()
Establish the dom as a combination of old version and new version |
java.net.URI |
getFeedUri()
|
protected boolean |
isSame(org.w3c.dom.Element oldE,
org.w3c.dom.Element newE)
Compare two Elements of type Item |
void |
prepare(unit p,
java.lang.String theCommonName,
java.lang.String theCommonValue)
Prepare this unitContent with imports from non-content files. |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public unitRSSContent(unitGroup master, org.w3c.dom.Element elt, unit owner) throws java.lang.Exception
master
- The unitGroup that owns this unitRSSContent objectelt
- The element in the script that describes this unitRSSContentowner
- The unitPage that owns this unitRSSContent
java.lang.Exception
- when we cannot establish this unitRSSContentMethod Detail |
protected boolean establishDom()
establishDom
in class unit
protected boolean isSame(org.w3c.dom.Element oldE, org.w3c.dom.Element newE)
oldE
- An element of type ItemnewE
- An element of type Item
public void prepare(unit p, java.lang.String theCommonName, java.lang.String theCommonValue)
prepare
in class unit
p
- The unit that will use this unit as content, may not be nulltheCommonName
- The name used for common resources in the materialtheCommonValue
- The value that we will usepublic java.net.URI getFeedUri()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |