public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
protected String createReference(Path currentPath, Object existingReferenceKey) { Path existingPath = (Path)existingReferenceKey; Path referencePath = (mode & ReferenceByXPathMarshallingStrategy.ABSOLUTE) > 0 ? existingPath : currentPath.relativeTo(existingPath); return (mode & ReferenceByXPathMarshallingStrategy.SINGLE_NODE) > 0 ? referencePath.explicit() : referencePath.toString(); }
public void appendErrors(ErrorWriter errorWriter) { errorWriter.add("path", pathTracker.getPath().toString()); super.appendErrors(errorWriter); }
/** * @deprecated Use {@link #getPath()} instead. */ public String getCurrentPath() { return getPath().toString(); }
/** * @deprecated Use {@link #getPath()} instead. */ public String getCurrentPath() { return getPath().toString(); }
public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
public ReferencedImplicitElementException(final Object item, final Path path) { super("Cannot reference implicit element"); add("implicit-element", item.toString()); add("referencing-element", path.toString()); } }
@Override protected String createReference(final Path currentPath, final Path existingReferenceKey) { final Path existingPath = existingReferenceKey; final Path referencePath = (mode & ReferenceByXPathMarshallingStrategy.ABSOLUTE) > 0 ? existingPath : currentPath.relativeTo(existingPath); return (mode & ReferenceByXPathMarshallingStrategy.SINGLE_NODE) > 0 ? referencePath.explicit() : referencePath .toString(); }
protected String createReference(Path currentPath, Object existingReferenceKey) { Path existingPath = (Path)existingReferenceKey; Path referencePath = (mode & ReferenceByXPathMarshallingStrategy.ABSOLUTE) > 0 ? existingPath : currentPath.relativeTo(existingPath); return (mode & ReferenceByXPathMarshallingStrategy.SINGLE_NODE) > 0 ? referencePath.explicit() : referencePath.toString(); }
protected String createReference(Path currentPath, Object existingReferenceKey) { Path existingPath = (Path)existingReferenceKey; Path referencePath = (mode & ReferenceByXPathMarshallingStrategy.ABSOLUTE) > 0 ? existingPath : currentPath.relativeTo(existingPath); return (mode & ReferenceByXPathMarshallingStrategy.SINGLE_NODE) > 0 ? referencePath.explicit() : referencePath.toString(); }
protected String createReference(Path currentPath, Object existingReferenceKey) { Path existingPath = (Path)existingReferenceKey; Path referencePath = (mode & ReferenceByXPathMarshallingStrategy.ABSOLUTE) > 0 ? existingPath : currentPath.relativeTo(existingPath); return (mode & ReferenceByXPathMarshallingStrategy.SINGLE_NODE) > 0 ? referencePath.explicit() : referencePath.toString(); }
protected String createReference(Path currentPath, Object existingReferenceKey) { Path existingPath = (Path)existingReferenceKey; Path referencePath = (mode & ReferenceByXPathMarshallingStrategy.ABSOLUTE) > 0 ? existingPath : currentPath.relativeTo(existingPath); return (mode & ReferenceByXPathMarshallingStrategy.SINGLE_NODE) > 0 ? referencePath.explicit() : referencePath.toString(); }
@Override public void appendErrors(final ErrorWriter errorWriter) { errorWriter.add("path", pathTracker.getPath().toString()); super.appendErrors(errorWriter); }
public void appendErrors(ErrorWriter errorWriter) { errorWriter.add("path", pathTracker.getPath().toString()); super.appendErrors(errorWriter); }