int function ( ) { int loc0 = node . getNodeType ( ) ; switch ( loc0 ) { case Node . ELEMENT_NODE : return ELEMENT ; case Node . COMMENT_NODE : return COMMENT ; case Node . CDATA_SECTION_NODE : return CDATA ; case Node . TEXT_NODE : return FREETEXT ; default : return UNKNOWN ; } }
map the node 's type to domwrapper 's simplified concept of type . concode_field_sep Node node concode_field_sep DOMWrapper[] getChildren concode_elem_sep String getAttribute concode_elem_sep String[] getAttributeNames concode_elem_sep String getText concode_elem_sep String getTagName concode_elem_sep String toXML concode_elem_sep void appendNodeText concode_elem_sep DOMWrapper[] getElementChildren