public static Tag getTagTree(final File source) throws Exception { return getTagTree(source, new ArrayList<>()); }
if (isType(types, reader.getName(), reader.getAttributeName(i))) { int idx = tp.indexOf(':'); if (idx > 0 && tp.length() > idx && tp.substring(idx + 1).indexOf(':') == -1) {
if (isType(types, reader.getName(), reader.getAttributeName(i))) { int idx = tp.indexOf(':'); if (idx > 0 && tp.length() > idx && tp.substring(idx + 1).indexOf(':') == -1) {
public static Tag getTagTree(final File source) throws Exception { return getTagTree(source, new ArrayList<>()); }
public void assertWsdlEquals(final File expected, final File source, List<String> attr, List<String> tag) throws Exception { Tag expectedTag = ToolsStaxUtils.getTagTree(expected, attr, qnameAtts); Tag sourceTag = ToolsStaxUtils.getTagTree(source, attr, qnameAtts); assertTagEquals(expectedTag, sourceTag, attr, tag); }
public static Tag getTagTree(final File source, final List<String> ignoreAttr) throws Exception { try (InputStream is = new BufferedInputStream(Files.newInputStream(source.toPath()))) { return getTagTree(is, ignoreAttr, null); } } public static Tag getTagTree(final File source,
public void assertWsdlEquals(final InputStream expected, final InputStream source, List<String> attr, List<String> tag) throws Exception { Tag expectedTag = ToolsStaxUtils.getTagTree(expected, attr, qnameAtts); Tag sourceTag = ToolsStaxUtils.getTagTree(source, attr, qnameAtts); assertTagEquals(expectedTag, sourceTag, attr, tag); }
public static Tag getTagTree(final File source, final List<String> ignoreAttr, Map<QName, Set<String>> types) throws Exception { try (InputStream is = new BufferedInputStream(Files.newInputStream(source.toPath()))) { return getTagTree(is, ignoreAttr, types); } } public static Tag getTagTree(final InputStream is,
public static Tag getTagTree(final File source, final List<String> ignoreAttr, Map<QName, Set<String>> types) throws Exception { try (InputStream is = new BufferedInputStream(Files.newInputStream(source.toPath()))) { return getTagTree(is, ignoreAttr, types); } } public static Tag getTagTree(final InputStream is,
public void assertWsdlEquals(final File expected, final File source, List<String> attr, List<String> tag) throws Exception { Tag expectedTag = ToolsStaxUtils.getTagTree(expected, attr, qnameAtts); Tag sourceTag = ToolsStaxUtils.getTagTree(source, attr, qnameAtts); assertTagEquals(expectedTag, sourceTag, attr, tag); }
public void assertWsdlEquals(final InputStream expected, final InputStream source, List<String> attr, List<String> tag) throws Exception { Tag expectedTag = ToolsStaxUtils.getTagTree(expected, attr, qnameAtts); Tag sourceTag = ToolsStaxUtils.getTagTree(source, attr, qnameAtts); assertTagEquals(expectedTag, sourceTag, attr, tag); }
public static Tag getTagTree(final File source, final List<String> ignoreAttr) throws Exception { try (InputStream is = new BufferedInputStream(Files.newInputStream(source.toPath()))) { return getTagTree(is, ignoreAttr, null); } } public static Tag getTagTree(final File source,