us.codecraft.xsoup.w3c.NodeAdaptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xsoup Show documentation
Show all versions of xsoup Show documentation
HTML XPath selector based on Jsoup.
package us.codecraft.xsoup.w3c;
import org.w3c.dom.*;
/**
* @author [email protected]
*/
public abstract class NodeAdaptor implements Node {
@Override
public void setNodeValue(String nodeValue) throws DOMException {
throw new UnsupportedOperationException();
}
@Override
public Node insertBefore(Node newChild, Node refChild) throws DOMException {
throw new UnsupportedOperationException();
}
@Override
public Node replaceChild(Node newChild, Node oldChild) throws DOMException {
throw new UnsupportedOperationException();
}
@Override
public Node removeChild(Node oldChild) throws DOMException {
throw new UnsupportedOperationException();
}
@Override
public Node appendChild(Node newChild) throws DOMException {
throw new UnsupportedOperationException();
}
@Override
public void normalize() {
}
@Override
public boolean isSupported(String feature, String version) {
return false;
}
@Override
public String getNamespaceURI() {
return null;
}
@Override
public String getPrefix() {
return null;
}
@Override
public void setPrefix(String prefix) throws DOMException {
throw new UnsupportedOperationException();
}
@Override
public String getLocalName() {
return null;
}
@Override
public String getBaseURI() {
return null;
}
@Override
public void setTextContent(String textContent) throws DOMException {
throw new UnsupportedOperationException();
}
@Override
public String lookupPrefix(String namespaceURI) {
return null;
}
@Override
public boolean isDefaultNamespace(String namespaceURI) {
return false;
}
@Override
public String lookupNamespaceURI(String prefix) {
return null;
}
@Override
public Object getFeature(String feature, String version) {
return null;
}
@Override
public Object setUserData(String key, Object data, UserDataHandler handler) {
throw new UnsupportedOperationException();
}
}