Depending on your logic, you would add the new node as the left child or the right child of your current node. For clarity this set is defined here rather than on each. The CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM. public interface CharacterData extends Node. All Known Subinterfaces: CDATASection, Comment, Text, Text. if the current node is in the left of it's parent, you would add the new node in the right. CharacterData (Java Platform SE 7 ) All Superinterfaces: Node.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |