|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
smacs.xngr.browser.viewer.XmlElementNode
The node for the XML tree, containing an XML element.
| Nested Class Summary | |
class |
XmlElementNode.AttributeName
|
class |
XmlElementNode.AttributePrefix
|
class |
XmlElementNode.AttributeValue
|
class |
XmlElementNode.CommentText
|
class |
XmlElementNode.ElementName
|
class |
XmlElementNode.ElementPrefix
|
class |
XmlElementNode.ElementValue
|
class |
XmlElementNode.Line
|
class |
XmlElementNode.NamespacePrefix
|
class |
XmlElementNode.NamespaceURI
|
class |
XmlElementNode.StyledElement
|
| Field Summary |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
XmlElementNode(Viewer viewer)
Constructs the the XML element node. |
|
XmlElementNode(Viewer viewer,
ExchangerElement element)
Constructs the node for the XML element. |
|
XmlElementNode(Viewer viewer,
ExchangerElement element,
boolean end)
Constructs the the XML element node. |
|
| Method Summary | |
ExchangerElement |
getElement()
Constructs the node for the XML element. |
XmlElementNode.Line[] |
getLines()
Returns the formatted lines for this element. |
Viewer |
getViewer()
Returns the viewer. |
boolean |
isEndTag()
|
protected XmlElementNode.Line |
parseComment(Vector lines,
XmlElementNode.Line current,
Comment comment)
|
protected XmlElementNode.Line |
parseCommentContent(Vector lines,
XmlElementNode.Line current,
String text)
|
protected XmlElementNode.Line |
parseContent(Vector lines,
XmlElementNode.Line current,
String text)
Create a styled version of the element content. |
protected XmlElementNode.Line |
parseElement(Vector lines,
XmlElementNode.Line current,
ExchangerElement elem)
|
protected XmlElementNode.Line |
parseEndTag(Vector lines,
XmlElementNode.Line current,
Element elem)
Create a styled version of the end-tag. |
protected XmlElementNode.Line |
parseMixedElement(Vector lines,
XmlElementNode.Line current,
ExchangerElement elem)
Elements parsed here can be both mixed and normal but then contained in a mixed element |
protected XmlElementNode.Line |
parseStartTag(Vector lines,
XmlElementNode.Line current,
Element elem)
Create a styled version of the start-tag. |
void |
update()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XmlElementNode(Viewer viewer,
ExchangerElement element)
public XmlElementNode(Viewer viewer,
ExchangerElement element,
boolean end)
public XmlElementNode(Viewer viewer)
| Method Detail |
public boolean isEndTag()
public void update()
public XmlElementNode.Line[] getLines()
public Viewer getViewer()
public ExchangerElement getElement()
protected XmlElementNode.Line parseElement(Vector lines,
XmlElementNode.Line current,
ExchangerElement elem)
protected XmlElementNode.Line parseMixedElement(Vector lines,
XmlElementNode.Line current,
ExchangerElement elem)
protected XmlElementNode.Line parseComment(Vector lines,
XmlElementNode.Line current,
Comment comment)
protected XmlElementNode.Line parseStartTag(Vector lines,
XmlElementNode.Line current,
Element elem)
protected XmlElementNode.Line parseContent(Vector lines,
XmlElementNode.Line current,
String text)
protected XmlElementNode.Line parseCommentContent(Vector lines,
XmlElementNode.Line current,
String text)
protected XmlElementNode.Line parseEndTag(Vector lines,
XmlElementNode.Line current,
Element elem)
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||