blob: fb3c43b755077dcb4e23af4953f16cc433125a5e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*******************************************************************************
* Copyright (c) 2001, 2008 Oracle Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Oracle Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.jsf.common.dom;
/**
* A generic adapter that can adapt some non-DOM
* things to a dom-like structure like an IRegion to a DOM-like structure.
*
* <p><b>Provisional API - subject to change</b></p>
*
* @author cbateman
*
*/
public abstract class DOMAdapter
{
/**
* @return the node type. Conforms to Node.getNodeType.
*/
public abstract short getNodeType();
/**
* @return the name prefix. Conforms to W3C Node.getPrefix()
*/
public abstract String getPrefix();
/**
* @return the local part of the name. Conforms to W3C Node.getLocalName()
*/
public abstract String getLocalName();
/**
* @return the name of the node. Conforms the W3C Node.getNodeName interface
*/
public abstract String getNodeName();
}
|