/** * This method throws a CanonicalizationException if the supplied Document * is not able to be traversed using a TreeWalker. * * @param document * @throws CanonicalizationException */ public static void checkTraversability(Document document) throws CanonicalizationException { if (!document.isSupported("Traversal", "2.0")) { Object exArgs[] = {document.getImplementation().getClass().getName() }; throw new CanonicalizationException( "c14n.Canonicalizer.TraversalNotSupported", exArgs ); } }
@Override public boolean isSupported(String feature, String version) { return original_.isSupported(feature, version); }
/** * @inheritDoc */ public boolean isSupported(String feature, String version) { return dom.isSupported(feature, version); }
public boolean isSupported(String feature, String version) { return this.doc.isSupported(feature, version); }
@Override public boolean isSupported(String feature, String version) { return original_.isSupported(feature, version); }
public boolean isSupported(String feature, String version){ return document.isSupported(feature, version); }
public boolean isSupported(String feature, String version){ return document.isSupported(feature, version); }
@Override public boolean isSupported(String feature, String version) { return document.isSupported(feature, version); }
public boolean isSupported(String feature, String version){ return document.isSupported(feature, version); }
/** * Tests whether the DOM implementation implements a specific feature and that feature is * supported by this node. * * @param feature The name of the feature to test. This is the same name which can be passed to * the method <code>hasFeature</code> on <code>DOMImplementation</code>. * @param version This is the version number of the feature to test. In Level 2, version 1, this * is the string "2.0". If the version is not specified, supporting any version * of the feature will cause the method to return <code>true</code>. * @return Returns <code>true</code> if the specified feature is supported on this node, * <code>false</code> otherwise. * @since DOM Level 2 */ public boolean isSupported(String feature, String version) { return document.isSupported(feature, version); }
/** * Tests whether the DOM implementation implements a specific feature and that feature is * supported by this node. * * @param feature The name of the feature to test. This is the same name which can be passed to * the method <code>hasFeature</code> on <code>DOMImplementation</code>. * @param version This is the version number of the feature to test. In Level 2, version 1, this * is the string "2.0". If the version is not specified, supporting any version * of the feature will cause the method to return <code>true</code>. * @return Returns <code>true</code> if the specified feature is supported on this node, * <code>false</code> otherwise. * @since DOM Level 2 */ public boolean isSupported(String feature, String version) { return document.isSupported(feature, version); }
@Override public boolean isSupported(String arg0, String arg1) { return document.getDomDocument().isSupported(arg0, arg1); }
/** * This method throws a CanonicalizationException if the supplied Document * is not able to be traversed using a TreeWalker. * * @param document * @throws CanonicalizationException */ public static void checkTraversability(Document document) throws CanonicalizationException { if (!document.isSupported("Traversal", "2.0")) { Object exArgs[] = {document.getImplementation().getClass().getName() }; throw new CanonicalizationException( "c14n.Canonicalizer.TraversalNotSupported", exArgs ); } }
/** * This method throws a CanonicalizationException if the supplied Document * is not able to be traversed using a TreeWalker. * * @param document * @throws CanonicalizationException */ public static void checkTraversability(Document document) throws CanonicalizationException { if (!document.isSupported("Traversal", "2.0")) { Object exArgs[] = {document.getImplementation().getClass().getName() }; throw new CanonicalizationException( "c14n.Canonicalizer.TraversalNotSupported", exArgs ); } }
protected boolean isAttrType(String typeName) { if (_value.getOwnerDocument().isSupported("Core", "3.0")) { return typeInfo(typeName); } return false; }