|
||||||||||
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.unitContent
unitContent instances holds pieces of content that will be placed in templates to form a page. An instance of unitContent may or may not match a content element in the script.
Field Summary |
Fields inherited from class wxtpages.unit |
CONTENT_TYPE, DBCONTENT_TYPE, GROUP_TYPE, 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, PAGE_TYPE, TEMPLATE_TYPE, TEXTCONTENT_TYPE, TRANSFORMATION_TYPE, UNIT_TYPE |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
unitContent(unitGroup master,
org.w3c.dom.Element elt,
unit owner)
Creates a new instance of unitContent, as it appears in the script |
|
unitContent(unitGroup master,
java.lang.String loc,
unit owner)
Creates a new instance of unitContent based on PI:import |
Method Summary | |
org.w3c.dom.NodeList |
getNodeList(command cmd)
Get a list of nodes according to the xpath specifyed in cmd |
boolean |
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 unitContent(unitGroup master, org.w3c.dom.Element elt, unit owner) throws java.lang.Exception
master
- The unitGroup object that owns this content objectelt
- The element in the script that defines this unitContent objectowner
- The unit that owns this unitContent, normally a unitPage-object
java.lang.Exception
- when the object cannot be establishedpublic unitContent(unitGroup master, java.lang.String loc, unit owner) throws java.lang.Exception
master
- The unitGroup object that owns this content objectloc
- Where the unitContent object is storedowner
- The unit that owns this unitContent, normally a unitPage-object
java.lang.Exception
- when the object cannot be establishedMethod Detail |
public boolean 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 use
public org.w3c.dom.NodeList getNodeList(command cmd)
getNodeList
in class unit
cmd
- The command that controls the listproduction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |