gcc/libjava/org/w3c/dom/Node.h

91 lines
3.8 KiB
C
Raw Normal View History

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __org_w3c_dom_Node__
#define __org_w3c_dom_Node__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace org
{
namespace w3c
{
namespace dom
{
class Document;
class NamedNodeMap;
class Node;
class NodeList;
class UserDataHandler;
}
}
}
}
class org::w3c::dom::Node : public ::java::lang::Object
{
public:
virtual ::java::lang::String * getNodeName() = 0;
virtual ::java::lang::String * getNodeValue() = 0;
virtual void setNodeValue(::java::lang::String *) = 0;
virtual jshort getNodeType() = 0;
virtual ::org::w3c::dom::Node * getParentNode() = 0;
virtual ::org::w3c::dom::NodeList * getChildNodes() = 0;
virtual ::org::w3c::dom::Node * getFirstChild() = 0;
virtual ::org::w3c::dom::Node * getLastChild() = 0;
virtual ::org::w3c::dom::Node * getPreviousSibling() = 0;
virtual ::org::w3c::dom::Node * getNextSibling() = 0;
virtual ::org::w3c::dom::NamedNodeMap * getAttributes() = 0;
virtual ::org::w3c::dom::Document * getOwnerDocument() = 0;
virtual ::org::w3c::dom::Node * insertBefore(::org::w3c::dom::Node *, ::org::w3c::dom::Node *) = 0;
virtual ::org::w3c::dom::Node * replaceChild(::org::w3c::dom::Node *, ::org::w3c::dom::Node *) = 0;
virtual ::org::w3c::dom::Node * removeChild(::org::w3c::dom::Node *) = 0;
virtual ::org::w3c::dom::Node * appendChild(::org::w3c::dom::Node *) = 0;
virtual jboolean hasChildNodes() = 0;
virtual ::org::w3c::dom::Node * cloneNode(jboolean) = 0;
virtual void normalize() = 0;
virtual jboolean isSupported(::java::lang::String *, ::java::lang::String *) = 0;
virtual ::java::lang::String * getNamespaceURI() = 0;
virtual ::java::lang::String * getPrefix() = 0;
virtual void setPrefix(::java::lang::String *) = 0;
virtual ::java::lang::String * getLocalName() = 0;
virtual jboolean hasAttributes() = 0;
virtual ::java::lang::String * getBaseURI() = 0;
virtual jshort compareDocumentPosition(::org::w3c::dom::Node *) = 0;
virtual ::java::lang::String * getTextContent() = 0;
virtual void setTextContent(::java::lang::String *) = 0;
virtual jboolean isSameNode(::org::w3c::dom::Node *) = 0;
virtual ::java::lang::String * lookupPrefix(::java::lang::String *) = 0;
virtual jboolean isDefaultNamespace(::java::lang::String *) = 0;
virtual ::java::lang::String * lookupNamespaceURI(::java::lang::String *) = 0;
virtual jboolean isEqualNode(::org::w3c::dom::Node *) = 0;
virtual ::java::lang::Object * getFeature(::java::lang::String *, ::java::lang::String *) = 0;
virtual ::java::lang::Object * setUserData(::java::lang::String *, ::java::lang::Object *, ::org::w3c::dom::UserDataHandler *) = 0;
virtual ::java::lang::Object * getUserData(::java::lang::String *) = 0;
static const jshort ELEMENT_NODE = 1;
static const jshort ATTRIBUTE_NODE = 2;
static const jshort TEXT_NODE = 3;
static const jshort CDATA_SECTION_NODE = 4;
static const jshort ENTITY_REFERENCE_NODE = 5;
static const jshort ENTITY_NODE = 6;
static const jshort PROCESSING_INSTRUCTION_NODE = 7;
static const jshort COMMENT_NODE = 8;
static const jshort DOCUMENT_NODE = 9;
static const jshort DOCUMENT_TYPE_NODE = 10;
static const jshort DOCUMENT_FRAGMENT_NODE = 11;
static const jshort NOTATION_NODE = 12;
static const jshort DOCUMENT_POSITION_DISCONNECTED = 1;
static const jshort DOCUMENT_POSITION_PRECEDING = 2;
static const jshort DOCUMENT_POSITION_FOLLOWING = 4;
static const jshort DOCUMENT_POSITION_CONTAINS = 8;
static const jshort DOCUMENT_POSITION_CONTAINED_BY = 16;
static const jshort DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32;
static ::java::lang::Class class$;
} __attribute__ ((java_interface));
#endif // __org_w3c_dom_Node__