Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class EcoreXPathContextFactory {
*
* @return the factory
*/
@Deprecated
public static XPathContextFactory<EObject> newInstance() {
return new JavaXPathContextFactoryImpl<>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public interface XPathContext {
* to evaluate
* @return Object found
*/
@Deprecated
Object getValue(String xpath);

/**
Expand All @@ -50,6 +51,7 @@ public interface XPathContext {
* required type
* @return Object found
*/
@Deprecated
<T> T getValue(String xpath, Class<T> requiredType);

/**
Expand All @@ -62,6 +64,7 @@ public interface XPathContext {
* @param xpath to iterate
* @return Iterator&lt;Object&gt;
*/
@Deprecated
<T> Iterator<T> iterate(String xpath);

/**
Expand All @@ -76,6 +79,7 @@ public interface XPathContext {
* type
* @since 0.5
*/
@Deprecated
default <T> Stream<T> stream(String xpath, Class<T> type) {
Iterator<?> iterator = iterate(xpath);
return StreamSupport.stream(Spliterators.spliteratorUnknownSize(iterator, Spliterator.ORDERED), false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public abstract class XPathContextFactory<T> {
* @param contextBean Object
* @return XPathContext
*/
@Deprecated
public abstract XPathContext newContext(T contextBean);

/**
Expand All @@ -55,6 +56,7 @@ public abstract class XPathContextFactory<T> {
* @param <T> the object type the xpath is created for
* @return Create a new XPath-Factory
*/
@Deprecated
public static <T> XPathContextFactory<T> newInstance() {
return new JavaXPathContextFactoryImpl<>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
public class XPathNotFoundException extends IllegalArgumentException {
private static final long serialVersionUID = -4174244860692153739L;

@Deprecated
public XPathNotFoundException(String message) {
super(message);
}
Expand Down
Loading