@ Nonnull public static ValidationSource create ( @ Nullable final String sSystemID , @ Nonnull final Node aNode ) { ValueEnforcer . notNull ( aNode , "Node" ) ; // Use the owner Document as fixed node return new ValidationSource ( sSystemID , XMLHelper . getOwnerDocument ( aNode ) , false ) ; }
Create a complete validation source from an existing DOM node .