private String invokeToString(final Object proxy) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException { throw new NotImplementedException( "Better annotate your toString() method with @XPath"); }
@Override public <V> V child(final int index, final Class<V> clazz) { nonNullArgument(clazz, "class"); throw new NotImplementedException(); }
@Override public void moveAfter(final Object previous) { nonNullArgument(previous, "previous"); throw new NotImplementedException(); }
@Override public T child(final String name, final int index) { nonNullArgument(name, "name"); throw new NotImplementedException(); }
@Override public T parent(final String name) { nonNullArgument(name, "name"); throw new NotImplementedException(); }
@Override public String getName(final U node) { nonNullArgument(node, "node"); throw new NotImplementedException(); }
/** * throw an exception. */ @Override public void setDocumentLocator(@Nullable final Locator locator) { throw new NotImplementedException(); }
/** * extract the configuration information from an interface annotated * with {@link XPath} and/or {@link Namespaces} and/or {@link Nodes}. */ public static ClassBinding readClassBinding(final Class<?> clazz) { nonNullArgument(clazz, "class"); //final XPath xpath = clazz.getAnnotation(XPath.class); //final Namespaces namespaces = clazz.getAnnotation(Namespaces.class); //final Nodes nodes = clazz.getAnnotation(Nodes.class); throw new NotImplementedException(); }
@Override public <V> V[] children(final Class<V> clazz) { nonNullArgument(clazz, "class"); throw new NotImplementedException(); }
@Override public void moveBefore(final Object next) { nonNullArgument(next, "next"); throw new NotImplementedException(); }
@Override public boolean noChild(final String name) { nonNullArgument(name, "name"); throw new NotImplementedException(); }
@Override public Object invoke(final Object proxy, final Method method, @Nullable final Object[] args) throws Throwable { nonNullArgument(proxy, "proxy"); nonNullArgument(method, "method"); if (args != null && args.length != 0) { throw new NotImplementedException("Method has parameters (" + args.length + "): " + method); } return values.get(method.getName()); } }
@Override public <V> V followingSibling(final String name, final Class<V> clazz) { nonNullArgument(name, "name"); nonNullArgument(clazz, "class"); throw new NotImplementedException(); }
@Override public void setNode(final U node, @Nullable final Object value) { nonNullArgument(node, "node"); throw new NotImplementedException(); }
@Override public <V> V[] children(final String name, final Class<V> clazz) { nonNullArgument(name, "name"); nonNullArgument(clazz, "class"); throw new NotImplementedException(); }
@Override public <V> V lastChild(final String name, final Class<V> clazz) { nonNullArgument(name, "name"); nonNullArgument(clazz, "class"); throw new NotImplementedException(); }
@Override public <V> V parent(final String name, final Class<V> clazz) { nonNullArgument(name, "name"); nonNullArgument(clazz, "class"); throw new NotImplementedException(); }
@Override public <V> V precedingSibling(final String name, final Class<V> clazz) { nonNullArgument(name, "name"); nonNullArgument(clazz, "class"); throw new NotImplementedException(); }
@Override public T evaluate(final XPath xpath, final Object... args) { nonNullArgument(clazz, "class"); nonNullArgument(xpath, "xpath"); nonNullArgument(args, "args"); throw new NotImplementedException(); }
@Override public void setAttribute(final U node, final String name, @Nullable final Object value) { nonNullArgument(node, "node"); nonNullArgument(name, "name"); throw new NotImplementedException(); }